Search found 3600 matches

by kwagyeman
Mon Nov 11, 2019 12:46 pm
Forum: Project Discussion
Topic: Audio Output on OpenMV Cam H7
Replies: 7
Views: 462

Re: Audio Output on OpenMV Cam H7

by kwagyeman
Mon Nov 11, 2019 12:45 pm
Forum: Project Discussion
Topic: Audio Output on OpenMV Cam H7
Replies: 7
Views: 462

Re: Audio Output on OpenMV Cam H7

Hi, you can just do that via the DAC pin and a timer callback. Google MicroPython play audio file over DAC. Then just edit the example code to use our DAC pin.
by kwagyeman
Sun Nov 10, 2019 10:49 am
Forum: Project Discussion
Topic: OpenMV H7 - Inverted Pendulum + ESP32s transmission + CRC
Replies: 1
Views: 275

Re: OpenMV H7 - Inverted Pendulum + ESP32s transmission + CRC

Hi, thanks for the kind words. For placement, you have to buy the system and decide yourself. I can't tell you that. For color, just use a saturated color patch. That will do what you need. Green is the best to key off of. For sending data. The board control is in python. See our documentation and t...
by kwagyeman
Fri Nov 08, 2019 9:28 pm
Forum: Technical Discussion
Topic: RGB to Grayscale attribute error
Replies: 1
Views: 318

Re: RGB to Grayscale attribute error

It's the image module that has that method. Not the img object.
by kwagyeman
Fri Nov 08, 2019 12:47 pm
Forum: Project Discussion
Topic: OpenMV H7 for fish identification
Replies: 2
Views: 499

Re: OpenMV H7 for fish identification

Hi, we are about to release TensorFlow for the system in firmware v3.5.0. The firmware is complete and on GitHub. I just have to finish the documentation and then get it into OpenMV IDE to be sent to all customers. With TensorFlow on board you just train a TensorFlow lite model, quanitize it, and th...
by kwagyeman
Fri Nov 08, 2019 12:37 pm
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 1598

Re: OV2640 module for H7 cam

Which line? Also, v3.5.0 is out online on the GitHub. Please download and install it.
by kwagyeman
Thu Nov 07, 2019 7:23 pm
Forum: General Topics
Topic: AprilTag3 Support
Replies: 3
Views: 451

Re: AprilTag3 Support

Yeah, so, all the code for AprilTag support is in one file. So, you can't diff changes in there: https://github.com/openmv/openmv/blob/master/src/omv/img/apriltag.c What you'd have to do is lookup what changes were made for apriltags v3 versus v2, then find the file section in the merged code in the...
by kwagyeman
Thu Nov 07, 2019 5:22 pm
Forum: General Topics
Topic: I created a reddit for OpenMV
Replies: 1
Views: 267

Re: I created a reddit for OpenMV

Cool!
by kwagyeman
Thu Nov 07, 2019 3:54 pm
Forum: General Topics
Topic: AprilTag3 Support
Replies: 3
Views: 451

Re: AprilTag3 Support

Yeah... it's a ton of work to update that. Probably 80 hours of effort. That said, if not everything changed it's not impossible to do it. I haven't scheduled myself to do this however. https://github.com/openmv/apriltag That's the tracking repo. You can diff that with the new code they have. Given ...
by kwagyeman
Thu Nov 07, 2019 12:54 pm
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 1598

Re: OV2640 module for H7 cam

The OV2640 driver works with snapshot.

If you want to capture a jpeg image set the pixel format to JPEG.
by kwagyeman
Thu Nov 07, 2019 11:27 am
Forum: Technical Discussion
Topic: Ulab library
Replies: 6
Views: 473

Re: Ulab library

You have to install the latest firmware from GitHub. The release to the IDE will happen in a bit.
by kwagyeman
Wed Nov 06, 2019 8:55 pm
Forum: General Topics
Topic: OpenMV for 5MP image?
Replies: 14
Views: 1123

Re: OpenMV for 5MP image?

No, that's not looked up. Um, let me ask SingTown if the ship has sailed on that. It might not be too late to hookup that pin.
by kwagyeman
Wed Nov 06, 2019 11:11 am
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 1598

Re: OV2640 module for H7 cam

The jpeg mode will work for all cameras. You can use the OV2640 with any model.
by kwagyeman
Tue Nov 05, 2019 1:46 pm
Forum: General Topics
Topic: OV2640 module for H7 cam
Replies: 22
Views: 1598

Re: OV2640 module for H7 cam

Yes, the driver support and everything is fully done and working. However, the OV2640 module has... bad image quality when not in UXGA mode... so, we have no plans to sell the thing. I did implement a fully featured driver with JPEG support.
by kwagyeman
Mon Nov 04, 2019 7:54 pm
Forum: Project Discussion
Topic: Tensorflow Updates?
Replies: 17
Views: 1978

Re: Tensorflow Updates?

We can just do classification and image segmentation. Object detection using any current net arches is not happening. They all have way too many operations. There's no research yet into micro models except classification. So, we plan to start with that. For example, all OpenMV Cams with firmware v3....
by kwagyeman
Mon Nov 04, 2019 11:48 am
Forum: Project Discussion
Topic: Tensorflow Updates?
Replies: 17
Views: 1978

Re: Tensorflow Updates?

Note, you need to 8-bit quanitize your tflite network for it to be runnable. Google has a lot of information on this.
by kwagyeman
Sun Nov 03, 2019 4:48 pm
Forum: Project Discussion
Topic: Tensorflow Updates?
Replies: 17
Views: 1978

Re: Tensorflow Updates?

Yes, it's been released in the latest firmware package on the GitHub. Please track the GitHub commits if you want to keep up to date on this stuff. You have to download the latest firmware and then flash it to your camera model along with getting the scripts to run it from GitHub. Nothing is really ...
by kwagyeman
Sun Nov 03, 2019 12:01 pm
Forum: General Topics
Topic: Find rects, accessing x,y,h,w &magnitude
Replies: 5
Views: 510

Re: Find rects, accessing x,y,h,w &magnitude

Just to be clear, one of the methods the rect has is called rect() which returns a python tuple which has (x,y,w,h). Or, you can just call x() to just get x. We have both methods in our lib because some functions take only the full rect() tuple. The actual rect object returned by find_rects is not a...
by kwagyeman
Sun Nov 03, 2019 11:59 am
Forum: General Topics
Topic: Find rects, accessing x,y,h,w &magnitude
Replies: 5
Views: 510

Re: Find rects, accessing x,y,h,w &magnitude

Hi, the Python object gets the name r from the for loop. The for r in list part creates an object called r which is the name of a rect from find rects. The rect then has methods that can be called to get the value. You should Google how python code works for these types of questions. We run general ...
by kwagyeman
Sun Nov 03, 2019 10:47 am
Forum: General Topics
Topic: Find rects, accessing x,y,h,w &magnitude
Replies: 5
Views: 510

Re: Find rects, accessing x,y,h,w &magnitude

Hi, you just do something like:

r.x() in the for loop to get the x position of a rect.

e.g:

if r.x() == 5:
#do something
else:
#do something else
by kwagyeman
Sun Nov 03, 2019 10:44 am
Forum: Technical Discussion
Topic: RGB channel extraction
Replies: 30
Views: 10565

Re: RGB channel extraction

I have no idea what they do with our code base.
by kwagyeman
Sat Nov 02, 2019 9:16 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 680

Re: uart waveform

That would just be related to how your SD card is formatted. We support FAT16/32 or exFAT.
by kwagyeman
Sat Nov 02, 2019 6:37 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 680

Re: uart waveform

It could be broken. It's not impossible to damage the chip. We don't have a return department and can't diagnose problems. So, you may need to buy a new unit.

I'll look at your script when I get home.
by kwagyeman
Sat Nov 02, 2019 3:59 pm
Forum: Technical Discussion
Topic: Inconsistent Behavior/Problems?
Replies: 8
Views: 709

Re: Inconsistent Behavior/Problems?

Do this:

sensor.set_contrast(3)
sensor.set_gainceiling(16)

The sensor contrast default isn't high enough.
by kwagyeman
Sat Nov 02, 2019 3:57 pm
Forum: Technical Discussion
Topic: RGB channel extraction
Replies: 30
Views: 10565

Re: RGB channel extraction

import sensor import image import lcd lcd.init() sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.set_hmirror(0) sensor.set_vflip(1) while True: img=sensor.snapshot() img = img.to_grayscale(rgb_channel=0) lcd.display(img) This works. That said, I see you h...
by kwagyeman
Sat Nov 02, 2019 3:36 pm
Forum: Technical Discussion
Topic: Inconsistent Behavior/Problems?
Replies: 8
Views: 709

Re: Inconsistent Behavior/Problems?

Hi, in regards to the SD card issue the something wrong with the SD card bit is because the mounted bit is not cleared when the camera is removed from the PC always. You can safely ignore that warning. As for the firmware update, we adjusted the camera driver for the OV7725 to have better image qual...
by kwagyeman
Fri Nov 01, 2019 3:12 pm
Forum: General Topics
Topic: OpenMV for 5MP image?
Replies: 14
Views: 1123

Re: OpenMV for 5MP image?

The cameras all have the same i2c bus IDs. If you want to talk to each you need some way to select each.
by kwagyeman
Fri Nov 01, 2019 12:19 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 21
Views: 7217

Re: Minimal detect AprilTag (don't need tag ID) with better range?

I can send you like one model that lacks the Qspi flash. It will work as long as an SD card is inserted. Email me about this and I'll make a PO for you.

Note, I don't have extra OV5640 cameras. So, it will be just the base.
by kwagyeman
Fri Nov 01, 2019 12:16 pm
Forum: General Topics
Topic: OpenRV: Robot Vision routines for OpenMV
Replies: 11
Views: 972

Re: OpenRV: Robot Vision routines for OpenMV

Well, standard users have no clue how to use that kind of code. The point of the system is for you not to have to write matrix and vector math. It's a regression of what we want the product to be - easy. I'd much prefer all this to be hidden away but I understand power users need it. Anyway, we just...
by kwagyeman
Fri Nov 01, 2019 12:13 pm
Forum: Technical Discussion
Topic: Frame Rate April Tags
Replies: 18
Views: 11637

Re: Frame Rate April Tags

We just paid for the production run of 1k. SingTown is building another 2.5k. the main chip lead time is a lot so it will be available likely in January or February. I will start preorders soon for it. I got TensorFlow support done and committed so I just need to finish out the OV5640 driver and the...
by kwagyeman
Thu Oct 31, 2019 1:56 pm
Forum: Technical Discussion
Topic: uart waveform
Replies: 9
Views: 680

Re: uart waveform

Does the UART not work when attached to a receiving device? We don't have analog control of the I/O. In uart mode its digital via the I/O pins. They just go between hi and lo.
by kwagyeman
Thu Oct 31, 2019 1:54 pm
Forum: Technical Discussion
Topic: RGB channel extraction
Replies: 30
Views: 10565

Re: RGB channel extraction

Hi, it's because you are passing the first arg as copy=True which makes a copy of the image. Then you never assign that copy and it gets thrown away. You need to not set the copy argument to True.
by kwagyeman
Thu Oct 31, 2019 2:01 am
Forum: Technical Discussion
Topic: Interrupt Trigger Inconsistency
Replies: 1
Views: 232

Re: Interrupt Trigger Inconsistency

If USB is connected then that will make the interrupt have jitter as the USB bus when being serviced has a higher priority.
by kwagyeman
Wed Oct 30, 2019 8:21 pm
Forum: Technical Discussion
Topic: How can I access LEPTON API using OpenMV IDE?
Replies: 7
Views: 429

Re: How can I access LEPTON API using OpenMV IDE?

There were way too many flir methods to wrap in python api calls. So, this allows you to create a byte struct, and send it with the right command to the lepton. It's quite low level to program this way but it works. You will need to reference the flir lepton api when writing the code.
by kwagyeman
Wed Oct 30, 2019 8:19 pm
Forum: Technical Discussion
Topic: How can I access LEPTON API using OpenMV IDE?
Replies: 7
Views: 429

Re: How can I access LEPTON API using OpenMV IDE?

Hi, you have to manually create byte structs using ustruct with the pack operation and then send the structs via the flir ioctls: # Lepton Get Object Temp Example # # This example shows off how to get an object's temperature using color tracking. # By turning the AGC off and setting a max and min te...
by kwagyeman
Wed Oct 30, 2019 1:23 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 21
Views: 7217

Re: Minimal detect AprilTag (don't need tag ID) with better range?

There's actually no res limit... But, above VGA your looking at less than 1 fps.

At vga res your looking at 4x more distance.
by kwagyeman
Wed Oct 30, 2019 1:22 pm
Forum: Project Discussion
Topic: Minimal detect AprilTag (don't need tag ID) with better range?
Replies: 21
Views: 7217

Re: Minimal detect AprilTag (don't need tag ID) with better range?

Yes, they can do VGA AprilTags at 1fps. 4fps for QVGA apriltags. We are placing the order this week for 1k units.
by kwagyeman
Wed Oct 30, 2019 12:47 pm
Forum: Technical Discussion
Topic: VDDA Regulator
Replies: 3
Views: 296

Re: VDDA Regulator

Yeah, that ended up like that because of the board rev time being long and we just needed to get the product out the door. Ibrahim, can you check on this with Kazhi if it makes sense to change?
by kwagyeman
Wed Oct 30, 2019 12:17 pm
Forum: General Topics
Topic: OpenMV for 5MP image?
Replies: 14
Views: 1123

Re: OpenMV for 5MP image?

Hi, the video data bus is quite straight forward. It's 8 bits of data with a clock and two control signals (vsync/href). It's all going on direction. Fpga mixing code juts needs to capture data into a set of flops on the rising edge of the clock and then output that. You'd then in the FPGA code make...
by kwagyeman
Wed Oct 30, 2019 12:53 am
Forum: General Topics
Topic: OpenMV for 5MP image?
Replies: 14
Views: 1123

Re: OpenMV for 5MP image?

To be clear I'm not designing any board... I just am giving you hints for what needs to be done. The schematic for the cable connector is Open-Source. You can easily design a board that mates to it.
by kwagyeman
Tue Oct 29, 2019 2:13 pm
Forum: General Topics
Topic: OpenRV: Robot Vision routines for OpenMV
Replies: 11
Views: 972

Re: OpenRV: Robot Vision routines for OpenMV

Saw it, I'll get to work on it. There's another issue with the stack being used too much buy that code that I can also fix along with saving some flash space. I'll knock all this out at one time.
by kwagyeman
Tue Oct 29, 2019 2:01 pm
Forum: General Topics
Topic: OpenMV for 5MP image?
Replies: 14
Views: 1123

Re: OpenMV for 5MP image?

Um, so, the FPGA is necessary just to act as a pin mux. The product you were looking at won't work. We don't use MiPi CSI. Its an 8-bit parallel bus. You'd have to design a board that sends the I2C bus to all four cameras and then selects on camera video stream to forward. The lowest end of fpgas fr...
by kwagyeman
Tue Oct 29, 2019 12:02 am
Forum: Project Discussion
Topic: Vehicle Detection
Replies: 1
Views: 333

Re: Vehicle Detection

I don;t think our product can really do that. Vehicle detection requires really powerful CNN support which we don't have quite yet.
by kwagyeman
Mon Oct 28, 2019 2:00 pm
Forum: General Topics
Topic: OpenRV: Robot Vision routines for OpenMV
Replies: 11
Views: 972

Re: OpenRV: Robot Vision routines for OpenMV

Ibrahim wants to include your library and etc. in the examples folder. Regarding hu moments. Find blobs calculates all those internally but them gets rid of the values in favor of the higher level values. I can just export the hu moments however from find_blobs(). Please make a bug request for this ...
by kwagyeman
Fri Oct 25, 2019 5:46 pm
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 709

Re: no file found

Please add an SD card. You can't save images on the internal flash.
by kwagyeman
Fri Oct 25, 2019 5:45 pm
Forum: General Topics
Topic: OpenMV for 5MP image?
Replies: 14
Views: 1123

Re: OpenMV for 5MP image?

Um, if you use an FPGA on the front you can make a multiplexer. The price will be $80 per camera. It has the H7, 32 MB SDRAM, 32 MB QSPI flash, and the OV5640 with a lens mount so you can use lenses. (Regarding the price, we are selling it at are usual markup to say in business. We don't have magica...
by kwagyeman
Fri Oct 25, 2019 12:00 pm
Forum: General Topics
Topic: OpenRV: Robot Vision routines for OpenMV
Replies: 11
Views: 972

Re: OpenRV: Robot Vision routines for OpenMV

Anyway, would you like your library included in the IDE examples folder?
by kwagyeman
Fri Oct 25, 2019 11:58 am
Forum: General Topics
Topic: OpenRV: Robot Vision routines for OpenMV
Replies: 11
Views: 972

Re: OpenRV: Robot Vision routines for OpenMV

Question, find_blobs implements all the outputs from hu moments. Was this not directly usable by you? I choose to skip implementing hu moments directly and instead implemented all the features you can get from them since it's more straight forward to understand.
by kwagyeman
Fri Oct 25, 2019 11:54 am
Forum: General Topics
Topic: OpenMV for 5MP image?
Replies: 14
Views: 1123

Re: OpenMV for 5MP image?

Yeah, actually, we are about to release a version with 32 MB of SDRAM and the same OV5640 5MP camera that the Raspberry Pi uses. On this system there will be no resolution limits (speed of course won't be fast a high res). We just finished developing the unit and we expect to have it on sale by Febr...
by kwagyeman
Fri Oct 25, 2019 11:30 am
Forum: Technical Discussion
Topic: no file found
Replies: 9
Views: 709

Re: no file found

The script runs on the camera. You have to copy the image file to the camera. Make sure you have an SD card.

Go to advanced search