Search found 2042 matches

by kwagyeman
Fri Jul 06, 2018 1:07 pm
Forum: Technical Discussion
Topic: Use the OpenMV cam M7 with CMSIS-NN
Replies: 9
Views: 107

Re: Use the OpenMV cam M7 with CMSIS-NN

Hi, what version does the IDE display for the firmware? It should display version 3.0.0. We will have the final release of everything soon with the updated IDE.

Please let me know what the firmware version displayed is.
by kwagyeman
Thu Jul 05, 2018 7:17 pm
Forum: Technical Discussion
Topic: This method is unavailable on your OpenMV Cam version.
Replies: 6
Views: 103

Re: This method is unavailable on your OpenMV Cam version.

There will be early bird reward tiers sold at cost.
by kwagyeman
Thu Jul 05, 2018 11:53 am
Forum: Technical Discussion
Topic: Lighting suggestions for OpenMV
Replies: 1
Views: 35

Re: Lighting suggestions for OpenMV

Sorry, I don't. Generally you want a diffuser however. Have you tried to make your own? Like a diffuser? You can make one by just putting some transparent material over the LED ring. Otherwise, make the light source come from not on the camera?
by kwagyeman
Thu Jul 05, 2018 1:39 am
Forum: Technical Discussion
Topic: New firmware release
Replies: 6
Views: 91

Re: New firmware release

PM me and I'll give you a free key.
by kwagyeman
Thu Jul 05, 2018 12:15 am
Forum: Technical Discussion
Topic: New firmware release
Replies: 6
Views: 91

Re: New firmware release

No, the green LED on plugin is the bootloader running.

If you're getting the registration pop-up that means that you bought a Chinese clone.
by kwagyeman
Wed Jul 04, 2018 2:23 pm
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 15
Views: 231

Re: Detecting optical flow

I honestly don't know. I just implemented the algorithm and confirmed it indeed works. Um, question, what's your FPS? Also, what do you do about the confidence value? Once the confidence falls below a threshold the value is not longer valid to read... in your code I don't see you filtering by the co...
by kwagyeman
Mon Jul 02, 2018 2:55 pm
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 15
Views: 231

Re: Detecting optical flow

Yes, it will. Also, you should definitely lower the res to using B64X32. This is much faster than 128X128. The FFTs used by phase correlation don't really need much pixels. They just need to see edges to work. Alternatively, you can use the B64X64 res and then do use the mean_pool(2,2) method on the...
by kwagyeman
Mon Jul 02, 2018 2:49 pm
Forum: Technical Discussion
Topic: cant save script to cam
Replies: 5
Views: 64

Re: cant save script to cam

Um, so, can you find the uPy flash drive for the OpenMV Cam on your PC. OpenMV IDE sometimes is unable to find the drive. In particular, I might not have code to automatically find it on Linux in all situations. Um, if you can find the drive on your PC then just do Save As with your script on the fl...
by kwagyeman
Mon Jul 02, 2018 3:37 am
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 15
Views: 231

Re: Detecting optical flow

Ah, okay, I see what you are doing. So, yes, filtering is necessary to improve the accuracy. Realistically, systems that do very accurate SLAM have numerous filters working with other data inputs like gryo scopes and such to obtain high accuracy. Our method just provides about the same functionality...
by kwagyeman
Mon Jul 02, 2018 3:10 am
Forum: Technical Discussion
Topic: cant save script to cam
Replies: 5
Views: 64

Re: cant save script to cam

Ah, okay, so, then this will still be grayed out if OpenMV IDE can't find the flash drive on your system that corresponds to the OpenMV Cam. Please click the drive label in the lower right hand corner of the IDE and see what that says.
by kwagyeman
Mon Jul 02, 2018 3:08 am
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 15
Views: 231

Re: Detecting optical flow

Hi, can you post your code? The differential method is quite accurate for one call in a power of 2 windows. So, I'm confused by what you are doing...
by kwagyeman
Sat Jun 30, 2018 12:07 pm
Forum: Technical Discussion
Topic: How to make debug build a OpenMV ?
Replies: 2
Views: 69

Re: How to make debug build a OpenMV ?

You're on the M4 build. That barely fits in the chip. The error says the debug image doesn't fit on the chip. So, there can be no debug build for that unless you shrink down things.
by kwagyeman
Sat Jun 30, 2018 1:29 am
Forum: Technical Discussion
Topic: connection between raspberrypi and openmvcam
Replies: 17
Views: 343

Re: connection between raspberrypi and openmvcam

Increase the timoutechar value in the constructor. If you read the docs for what that does it controls how long the python code blocks on sending each character.
by kwagyeman
Fri Jun 29, 2018 4:17 pm
Forum: Technical Discussion
Topic: cant save script to cam
Replies: 5
Views: 64

Re: cant save script to cam

Hi, please connect to the camera first. Then the option will be ungrayed out.
by kwagyeman
Fri Jun 29, 2018 2:47 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 548

Re: Script autostart

Yes, Go to Tools: Open Terminal -> New Terminal -> Serial Port -> Select the right comm port -> Any baud rate (default is fine). This pops open a terminal which will show you the print() output from the camera. If you want to also see what the camera sees in this view you need to add print(img.compr...
by kwagyeman
Fri Jun 29, 2018 2:36 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 548

Re: Script autostart

Yes. All this does is create/update a file called main.py on the OpenMV Cam. All micropython boards run a main.py script on startup.
by kwagyeman
Fri Jun 29, 2018 1:55 am
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 548

Re: Script autostart

1. Open the script in the IDE.
2. Go to Tools -> Save Script to OpenMV Cam
3. Go to Tools -> Reset OpenMV Cam

The script will now start when the camera starts.
by kwagyeman
Thu Jun 28, 2018 12:00 pm
Forum: Technical Discussion
Topic: Script autostart
Replies: 32
Views: 548

Re: Script autostart

Hi, are you talking about scripting up OpenMV IDE? Um, so, if you launch OpenMV IDE via the command line. You can pass it a file path as it's first argument and it will open that file. Then, if you can emulate pressing ctrl+e and then ctrl+r it will run the script. Alternatively, you can save a scri...
by kwagyeman
Thu Jun 28, 2018 11:56 am
Forum: Technical Discussion
Topic: keypoints and color detection
Replies: 2
Views: 47

Re: keypoints and color detection

Yes.

Please call the to_grayscale() method on an RGB565 image. Note that you cannot easily go the other way (from grayscale to color).
by kwagyeman
Thu Jun 28, 2018 11:55 am
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 15
Views: 231

Re: Detecting optical flow

Hi, the find_displacement() method takes a ROI such that you can target a specific area of the image to run it on. There's an example showing it being run on multiple locations that comes with OpenMV IDE. See the image-patches-differential-translation.py script under Optical Flow examples. As for yo...
by kwagyeman
Thu Jun 28, 2018 11:49 am
Forum: Technical Discussion
Topic: development enviroment used by OpenMV
Replies: 6
Views: 100

Re: development enviroment used by OpenMV

Cool, what are the mods to do this? Do you think you can sumbit a PR to MicroPython to enable this functionality for everyone? Um, so, the machine module doesn't use the hardware I2C bus but instead does I2C using software. So, it should be possible to modify that module to work using an external in...
by kwagyeman
Wed Jun 27, 2018 1:08 pm
Forum: Technical Discussion
Topic: connection between raspberrypi and openmvcam
Replies: 17
Views: 343

Re: connection between raspberrypi and openmvcam

Hi, use the code tags (see the code button on the forum editor) to post idented code.

...

I just finished moving to my new place and will be working at 100% again soon.
by kwagyeman
Tue Jun 26, 2018 5:21 pm
Forum: Technical Discussion
Topic: 16bit 640x480 OV7725 read?
Replies: 5
Views: 101

Re: 16bit 640x480 OV7725 read?

Hi, when I wrote that I was thinking only about it in regards to the picture taking capability. Yes, you are right however. I will change the text. Originally it didn't say we had VGA RGB565 support but I added that after Ibrahim put in the Bayer image processing mode that allows VGA RGB565 video ca...
by kwagyeman
Tue Jun 26, 2018 2:23 am
Forum: General Topics
Topic: starting speed of openmv
Replies: 4
Views: 80

Re: starting speed of openmv

Only the bootloader takes any noticable time. Everything else cost less than 1 ms to boot up.

In your scripts, make sure to load the camera auto gain configs and such from what you had previously to get it up and running in 1-2 frames versus waiting a few seconds.
by kwagyeman
Tue Jun 26, 2018 1:56 am
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 266

Re: Finding AprilTags at a distance

Cool, with the H7 you can hit 240x240 more or ess and with double the FPS. So, for a commercial product you may be okay.
by kwagyeman
Tue Jun 26, 2018 1:47 am
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 14
Views: 235

Re: UART to NodeMcu

Replace the while loop with this: while(True): clock.tick() img = sensor.snapshot().compress(quality=30) uart.write(struct.pack("<l", img.size())) uart.write(img) print(clock.fps()) This will send the image size in bytes as the first 4 bytes followed by the image data. There will be no breaks betwee...
by kwagyeman
Tue Jun 26, 2018 1:43 am
Forum: Technical Discussion
Topic: This method is unavailable on your OpenMV Cam version.
Replies: 6
Views: 103

Re: This method is unavailable on your OpenMV Cam version.

I'll be doing the KickStarter for the H7 in September. We have a final firmware release to get done next for v3.0.0 and then I will focus on website updates and the H7 media campaign.
by kwagyeman
Tue Jun 26, 2018 1:40 am
Forum: General Topics
Topic: use of blob.cx()
Replies: 9
Views: 193

Re: use of blob.cx()

Here's an example: # Single Color RGB565 Blob Tracking Example # # This example shows off single color RGB565 tracking using the OpenMV Cam. import sensor, image, time threshold_index = 0 # 0 for red, 1 for green, 2 for blue # Color Tracking Thresholds (L Min, L Max, A Min, A Max, B Min, B Max) # Th...
by kwagyeman
Tue Jun 26, 2018 1:38 am
Forum: General Topics
Topic: starting speed of openmv
Replies: 4
Views: 80

Re: starting speed of openmv

Hi, um, the bootloader is the thing that takes time. If you remove USB 5V and just use the VIN the bootloader is bypassed. Then it startups instantly.
by kwagyeman
Sat Jun 23, 2018 12:54 pm
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 14
Views: 235

Re: UART to NodeMcu

Great, so, you are able to receive the number of bytes of size of an uncompressed image. That number is 38400 which is what you received. Now, we can do the image transfer part. I can give you the OpenMV Cam code for this. However, I need to know much space you have on the node MCU device to buffer ...
by kwagyeman
Fri Jun 22, 2018 7:32 pm
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 266

Re: Finding AprilTags at a distance

RGB565 images take double the space of a Grayscale image. Athe 200x200 res you're right at the RAM limit for the M7. (You may wish to actually handle memory exhaustion exceptions at this res).

With the H7 there's no problem with this.
by kwagyeman
Fri Jun 22, 2018 5:43 pm
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 266

Re: Finding AprilTags at a distance

Was it in grayscale or RGB565? Yes, I agree, there should be no problem with QVGA I'm grayscale. I'll look into this. I only tried set windowing with VGA when I was testing.
by kwagyeman
Fri Jun 22, 2018 5:31 pm
Forum: General Topics
Topic: Camera cannot connect to IDE
Replies: 6
Views: 115

Re: Camera cannot connect to IDE

K, I'll just ship you a new one. Send us an email with a receipt.
by kwagyeman
Fri Jun 22, 2018 5:17 pm
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 15
Views: 231

Re: Detecting optical flow

Yes, you can change the delay variably. You'd want the delay to be inversely proportional to the movement speed.
by kwagyeman
Fri Jun 22, 2018 5:17 pm
Forum: General Topics
Topic: Camera cannot connect to IDE
Replies: 6
Views: 115

Re: Camera cannot connect to IDE

Hi, in STM DFU mode the device will appear as a STM DFU device under the USB devices in the device manager. The "Reprogramming... (may take up to 5 minutes)" dialog should either immediately fail or take about 5 minutes. ... Um, Mmm, send send me an email with a receipt where you bought the camera a...
by kwagyeman
Fri Jun 22, 2018 5:15 pm
Forum: Technical Discussion
Topic: OpenMV M7 standard lens water resistance?
Replies: 1
Views: 48

Re: OpenMV M7 standard lens water resistance?

I have no information on this. If you're concerned about the lens being water resistance you may wish to buy a lens with these specs you want.

https://www.alibaba.com/product-detail/ ... 2552BcxsUc
by kwagyeman
Fri Jun 22, 2018 5:13 pm
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 266

Re: Finding AprilTags at a distance

Hi, increasing the resolution results in less detects to do memory limits. There's not much I can do about this. At 200x200 you're at more or less peak memory usage. The firmware fix however greatly improves detection at 160x120 since it frees up a lot of RAM. I was able to get 200x200 to work stari...
by kwagyeman
Fri Jun 22, 2018 1:03 pm
Forum: General Topics
Topic: Menus in OpenMV IDE are black on black text
Replies: 7
Views: 183

Re: Menus in OpenMV IDE are black on black text

IDE fixes will be processed after we release the firmware image. We hope to finalize all the commits by the end of the week.
by kwagyeman
Fri Jun 22, 2018 11:21 am
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 266

Re: Finding AprilTags at a distance

Um, make sure the res for w and h and a multiple of 8. There's a bug with set windowing that causes issues if they aren't I need to fix. Otherwise, yes, it should work.
by kwagyeman
Fri Jun 22, 2018 3:29 am
Forum: Project Discussion
Topic: automatic Pick & Place robot arm with MV
Replies: 7
Views: 140

Re: automatic Pick & Place robot arm with MV

Remove the semicolon at the end of the line.
by kwagyeman
Fri Jun 22, 2018 2:39 am
Forum: Project Discussion
Topic: automatic Pick & Place robot arm with MV
Replies: 7
Views: 140

Re: automatic Pick & Place robot arm with MV

Hi, I answer a lot of forums topics on my phone and don't get on my PC until around 9pm to 12am PST. Anyway, I recommend when you think you have a general purpose python question to just Google the answer: import sensor, image, time sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_frame...
by kwagyeman
Fri Jun 22, 2018 1:01 am
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 266

Re: Finding AprilTags at a distance

Try the zoom example with windowing set to 200x200.

Note... there's some issue with set windowing I have to fix. It looks like it only works on sizes that are multiples of 8.
by kwagyeman
Fri Jun 22, 2018 12:34 am
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 14
Views: 235

Re: UART to NodeMcu

Okay, so, what part isn't working then? Can you run this script and confirm you receive 4 bytes that specify the image size? # Untitled - By: kwagyeman - Tue Jun 19 2018 import time from pyb import UART # Always pass UART 3 for the UART number for your OpenMV Cam. # The second argument is the UART b...
by kwagyeman
Fri Jun 22, 2018 12:30 am
Forum: General Topics
Topic: Camera cannot connect to IDE
Replies: 6
Views: 115

Re: Camera cannot connect to IDE

Um, it might be a bricked state right now. Can you do this? Plug the camera in, then hit connect on the IDE. The IDE should ask if the camera is bricked. Say yes, then the IDE will try to connect, click cancel in the dialog. The IDE will ask then if you'd like to restore using DFU mode, say yes. The...
by kwagyeman
Fri Jun 22, 2018 12:27 am
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 18
Views: 266

Re: Finding AprilTags at a distance

Hi, I just updated the AprilTag code in the next firmware release. You can do 200x200 on the M7 now and also 100x400 or 400x100 if you know if the tag is vertically or horizontally centered. Can you wait for the new release or do you need it now?

Theses reses are without any pre-processing.
by kwagyeman
Thu Jun 21, 2018 2:03 pm
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 14
Views: 235

Re: UART to NodeMcu

Great, and both devices share a common ground wire right?
by kwagyeman
Thu Jun 21, 2018 1:08 pm
Forum: Project Discussion
Topic: automatic Pick & Place robot arm with MV
Replies: 7
Views: 140

Re: automatic Pick & Place robot arm with MV

Hi, just assign the return of find_rects() to a list.

rects = img.find_rects(...)

And then do:

if rects:
rects[0]

To get the first rect object.
by kwagyeman
Thu Jun 21, 2018 12:21 pm
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 14
Views: 235

Re: UART to NodeMcu

Sorry, I meant, what I/O pins and etc.

Note, since I keep getting questions about how to connect the OpenMV Cam to other devices I will write a tutorial about how to do this in the documentation for the next release.
by kwagyeman
Thu Jun 21, 2018 12:20 pm
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 15
Views: 231

Re: Detecting optical flow

0.5 Meters/s is quite fast. Did you mean millimeters?

The same rate is controlled by the frame rate the system runs at. By default it just runs as fast as possible. If you'd like to slow down the sample rate just add a pyb.delay(100) to the main loop. Make sure to import the pyb module.

Go to advanced search