Search found 3410 matches

by kwagyeman
Wed Nov 13, 2019 1:58 am
Forum: General Topics
Topic: use as a contrast sensor
Replies: 4
Views: 36

Re: use as a contrast sensor

You have to set the camera exposure to be a low value. See the Global Shutter example high FPS script. That said, 100-200 microseconds isn't happening except on an FPGA... That's obscenely fast. You can get 400 FPS max. 100-200 microsecond is much faster than that. I do not know where you are gettin...
by kwagyeman
Wed Nov 13, 2019 1:55 am
Forum: Technical Discussion
Topic: RGB channel extraction
Replies: 30
Views: 9845

Re: RGB channel extraction

Yes, it's 5 bits of red.
by kwagyeman
Tue Nov 12, 2019 6:19 pm
Forum: Technical Discussion
Topic: RGB channel extraction
Replies: 30
Views: 9845

Re: RGB channel extraction

That could be done. It's not a lot of code. That said, what's the use case for not just capturing a grayscale image?
by kwagyeman
Tue Nov 12, 2019 2:12 pm
Forum: Technical Discussion
Topic: SD card Usage problem
Replies: 2
Views: 33

Re: SD card Usage problem

Mobilenet doesn't run on any cameras we have out right now. It will run the H7 Plus model we plan to release. The person detection runs on the H7 and M7.
by kwagyeman
Tue Nov 12, 2019 2:46 am
Forum: Technical Discussion
Topic: Ulab library
Replies: 6
Views: 244

Re: Ulab library

Hi, I tested the released firmware that is available with the IDE and it's present. I just imported ulab in the import statement and it works. What board are you using.
by kwagyeman
Tue Nov 12, 2019 2:42 am
Forum: General Topics
Topic: use as a contrast sensor
Replies: 4
Views: 36

Re: use as a contrast sensor

Use get_stats() or get_histogram().
by kwagyeman
Mon Nov 11, 2019 10:37 pm
Forum: Project Discussion
Topic: Audio Output on OpenMV Cam H7
Replies: 6
Views: 46

Re: Audio Output on OpenMV Cam H7

Since files are objects which are garbage collected you just call "del object", and then "gc.collect()" to delete the python object and then you can load another small wave file into RAM.

As for the audio output sure. I've never done this before however.
by kwagyeman
Mon Nov 11, 2019 6:26 pm
Forum: General Topics
Topic: how use python code read video, not use openide
Replies: 4
Views: 245

Re: how use python code read video, not use openide

A note, the bootloader will still be on the camera so you can still easily restore the normal firmware.

The UVC firmware is under <openmv-ide-install-dir>/share/qtcreator/firmware/OPENMV4/uvc.bin

Use the Tools->Run bootloader dialog to reflash the camera.
by kwagyeman
Mon Nov 11, 2019 12:51 pm
Forum: Project Discussion
Topic: Audio Output on OpenMV Cam H7
Replies: 6
Views: 46

Re: Audio Output on OpenMV Cam H7

The processor is completely capable of playing high quality audio. However, I don't think the code linked above handles the glitch between playing and loading a sound. If you need to play a long audio file you typically need to have a double buffer thing where you have different chunks of the audio ...
by kwagyeman
Mon Nov 11, 2019 12:46 pm
Forum: Project Discussion
Topic: Audio Output on OpenMV Cam H7
Replies: 6
Views: 46

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: 6
Views: 46

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: 101

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: 195

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: 260

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: 7
Views: 500

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: 289

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: 136

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: 289

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: 7
Views: 500

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: 244

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: 614

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: 7
Views: 500

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: 7
Views: 500

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: 1358

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: 1358

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: 1358

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: 271

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: 271

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: 271

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: 9845

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: 340

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: 340

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: 5
Views: 363

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: 9845

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: 5
Views: 363

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: 614

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: 6486

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: 582

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: 11162

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: 340

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: 9845

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: 113

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: 3
Views: 172

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: 3
Views: 172

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: 6486

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: 6486

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: 138

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: 614

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: 614

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.

Go to advanced search