Search found 3717 matches

by kwagyeman
Fri Nov 15, 2019 1:37 am
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 566

Re: usage

Sorry for the misspelling. I answer some of these posts on the phone on the go. import sensor, image, time sensor.reset() # Reset and initialize the sensor. sensor.set_pixformat(sensor.RGB565) # Set pixel format to RGB565 (or GRAYSCALE) sensor.set_framesize(sensor.QVGA) # Set frame size to QVGA (320...
by kwagyeman
Thu Nov 14, 2019 3:09 pm
Forum: General Topics
Topic: use as a contrast sensor
Replies: 7
Views: 447

Re: use as a contrast sensor

Yeah, that kind of sensor would be more suited to your task.
by kwagyeman
Thu Nov 14, 2019 3:08 pm
Forum: General Topics
Topic: www.openmv.io site doesn't open.
Replies: 5
Views: 300

Re: www.openmv.io site doesn't open.

Yeah, I had another customer complain about this. I did a test using a test ping system and it worked all over the world.

I'll ping Shopify about this. It's weird you can access the forum/docs. They are under the same domain.
by kwagyeman
Thu Nov 14, 2019 2:33 pm
Forum: Technical Discussion
Topic: usage
Replies: 11
Views: 566

Re: usage

Code: Select all

sensor.snapshot().save("/IMG.bmp")
img = Image("/IMG.bmp", copy_to_fb=True)
I don't know what's wrong with your UART. The code to send data via the UART works. Your camera I/O pin may be damaged.
by kwagyeman
Thu Nov 14, 2019 12:55 pm
Forum: General Topics
Topic: www.openmv.io site doesn't open.
Replies: 5
Views: 300

Re: www.openmv.io site doesn't open.

Hi, the website is definitely online. Where are you connecting from?
by kwagyeman
Thu Nov 14, 2019 12:54 pm
Forum: Project Discussion
Topic: Ulab library problem
Replies: 3
Views: 293

Re: Ulab library problem

Please contact the ulab author. We just imported the code given user request. It's not our code however.
by kwagyeman
Wed Nov 13, 2019 11:13 am
Forum: General Topics
Topic: use as a contrast sensor
Replies: 7
Views: 447

Re: use as a contrast sensor

Understood, but, even if you set the resolution to be 80x60 and the exposure to be very low to get the 400fps rate this doesn't get you up to 100 microseconds... You need a 10k fps camera to hit that.

Can you send an image of the problem? Maybe it's possible to lower the frame rate.
by kwagyeman
Wed Nov 13, 2019 1:58 am
Forum: General Topics
Topic: use as a contrast sensor
Replies: 7
Views: 447

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

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

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

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

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

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: 9
Views: 603

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

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: 9
Views: 603

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: 9
Views: 603

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: 9
Views: 603

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Go to advanced search