Search found 1961 matches

by kwagyeman
Fri Jun 22, 2018 7:32 pm
Forum: Technical Discussion
Topic: Finding AprilTags at a distance
Replies: 14
Views: 112

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: 14
Views: 112

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

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

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

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

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: 14
Views: 112

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

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: 14
Views: 112

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

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

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: 14
Views: 112

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

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

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: 14
Views: 112

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

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

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

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

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.
by kwagyeman
Thu Jun 21, 2018 12:18 pm
Forum: Technical Discussion
Topic: connection between raspberrypi and openmvcam
Replies: 11
Views: 149

Re: connection between raspberrypi and openmvcam

Hi, it's going to take a while to get this done. I'm in the middle of moving to a new apartment.

I'll make this my next high priority however.
by kwagyeman
Wed Jun 20, 2018 5:18 pm
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 9
Views: 84

Re: UART to NodeMcu

Yeah, so, you need some method to flow control how much data the camera sends per second. Um, what wires are you using to connect things?
by kwagyeman
Wed Jun 20, 2018 2:24 pm
Forum: Technical Discussion
Topic: Memory error
Replies: 3
Views: 32

Re: Memory error

You can't use compress for processing.

Um, is there a reason you can't use AprilTags? It's far easier to use and does the job really well. You can create one tag for left and one tag for right.
by kwagyeman
Wed Jun 20, 2018 2:00 pm
Forum: Project Discussion
Topic: Detecting optical flow
Replies: 5
Views: 59

Re: Detecting optical flow

Hi, the differential translation method will detect slow movement if you lower the sample rate. How slow are you talking?
by kwagyeman
Wed Jun 20, 2018 1:59 pm
Forum: Technical Discussion
Topic: Memory error
Replies: 3
Views: 32

Re: Memory error

Hi, it would help if you could let me know which line of code it gives the memory error on.
by kwagyeman
Wed Jun 20, 2018 1:58 pm
Forum: Technical Discussion
Topic: Openmv sending command to arduino
Replies: 4
Views: 57

Re: Openmv sending command to arduino

Hi, I need the PGM files you're using. Also, why are you using templates exactly? Have you seen our AprilTag feature? It is much better for this type of activity. The tags aren't exactly human readable but they are much easier for the robot to find. https://www.youtube.com/watch?v=keb0B11zj5g Anyway...
by kwagyeman
Wed Jun 20, 2018 1:19 am
Forum: General Topics
Topic: Can we login securely?
Replies: 1
Views: 25

Re: Can we login securely?

Um, not that hard. However, it's... costly from a cloud flare perspective. So, basically, we use cloud flare to speed up the forums. We already have a *.openmv.io SSL cert... but, we can't use it with cloud flare . Cloud flare requires $200 a month to use SSL certs and won't let us us our $100 a yea...
by kwagyeman
Wed Jun 20, 2018 1:15 am
Forum: Kickstarter Topics
Topic: Future wishlist
Replies: 13
Views: 3366

Re: Future wishlist

Ibrahim may be able to add a test point for this... submit a github issue on the OpenMV github.
by kwagyeman
Tue Jun 19, 2018 10:05 pm
Forum: Technical Discussion
Topic: Possible to snapshot without updating IDE?
Replies: 2
Views: 28

Re: Possible to snapshot without updating IDE?

Not right now. But, it's simple to add. Please make a github issue for this on the openmv repo.

...

Alternatively, if you program the camera through the open terminal method then you have direct control over what gets sent to the PC.
by kwagyeman
Tue Jun 19, 2018 7:48 pm
Forum: General Topics
Topic: Fail to open .py file..
Replies: 10
Views: 99

Re: Fail to open .py file..

Hi, I'm using Qt 5.8 to build OpenMV IDE. This may be the issue.
by kwagyeman
Tue Jun 19, 2018 4:35 pm
Forum: Technical Discussion
Topic: Openmv sending command to arduino
Replies: 4
Views: 57

Re: Openmv sending command to arduino

Note, the previous code shouldn't have run. It looked like there were compile issues in it.
by kwagyeman
Tue Jun 19, 2018 4:35 pm
Forum: Technical Discussion
Topic: Openmv sending command to arduino
Replies: 4
Views: 57

Re: Openmv sending command to arduino

Hi, it looks like your UART code is wrong... import time, sensor, image from pyb import UART from image import SEARCH_EX, SEARCH_DS ser = UART(3,115200,timeout_char=1000) # Reset sensor sensor.reset() # Set sensor settings sensor.set_contrast(1) sensor.set_gainceiling(16) # Max resolution for templa...
by kwagyeman
Tue Jun 19, 2018 12:19 pm
Forum: Technical Discussion
Topic: connection between raspberrypi and openmvcam
Replies: 11
Views: 149

Re: connection between raspberrypi and openmvcam

So, I'm just going to add some example scripts for this to the OpenMV Repo. It seems there's enough folks asking for this that it needs to get done.
by kwagyeman
Tue Jun 19, 2018 12:16 pm
Forum: Technical Discussion
Topic: connection between raspberrypi and openmvcam
Replies: 11
Views: 149

Re: connection between raspberrypi and openmvcam

Hi, can you try running this program? # UART Control # # This example shows how to use the serial port on your OpenMV Cam. Attach pin # P4 to the serial input of a serial LCD screen to see "Hello World!" printed # on the serial LCD display. import time from pyb import UART # Always pass UART 3 for t...
by kwagyeman
Tue Jun 19, 2018 12:14 pm
Forum: Technical Discussion
Topic: Opencv7 with a Raspberry Pi
Replies: 14
Views: 1025

Re: Opencv7 with a Raspberry Pi

I'm pretty much doing the initial Arduino model of things right now and supplying examples and answering forum questions. As for the documentation... the main things to add to it would be more details on how to use the hardware and some basic concepts on how cameras work. Generally, reading the libr...
by kwagyeman
Tue Jun 19, 2018 12:09 pm
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 9
Views: 84

Re: UART to NodeMcu

Uart is definitely what you want to do. Do something like this: # 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 baud rate. For a more advanced UART control # example see the ...
by kwagyeman
Tue Jun 19, 2018 2:34 am
Forum: Technical Discussion
Topic: Opencv7 with a Raspberry Pi
Replies: 14
Views: 1025

Re: Opencv7 with a Raspberry Pi

Hi SARAVANABAVAN, You're getting low quality responses for your questions because you aren't putting much effort into asking a question that I can reasonably answer. I've told you many times now to use the find_blobs() method to find color blobs. See the Color Tracking Examples folder, then look at ...
by kwagyeman
Mon Jun 18, 2018 7:33 pm
Forum: General Topics
Topic: Fail to open .py file..
Replies: 10
Views: 99

Re: Fail to open .py file..

Hi, it looks like there's an error loading the mime-type database that's built-in to the IDE... Not sure what to do to fix this. I've never had this error before. >> MimeDatabase: Error loading :/qt-project.org/qmime/freedesktop.org.xml >> Cannot open :/qt-project.org/qmime/freedesktop.org.xml: No s...
by kwagyeman
Mon Jun 18, 2018 5:51 pm
Forum: General Topics
Topic: Fail to open .py file..
Replies: 10
Views: 99

Re: Fail to open .py file..

So... not to be curt... but, if it's not a binary released by OpenMV how can I know what the problem is? Building the IDE yourself means you have to fix the issues yourself. Just tested opening files in the IDE and everything works on Ubuntu. Um, you may wish to search for the error string in the co...
by kwagyeman
Mon Jun 18, 2018 5:49 pm
Forum: Technical Discussion
Topic: findContours
Replies: 21
Views: 4713

Re: findContours

We're basically using what ARM provided us. The implement work was mostly done by them. We're just taking it from demo quality to usable.
by kwagyeman
Mon Jun 18, 2018 2:49 pm
Forum: General Topics
Topic: Raspberry Pi and OpenMV IDE
Replies: 3
Views: 49

Re: Raspberry Pi and OpenMV IDE

Call the tx_buf_len() method to get the number of bytes stuck in the camera's print() buffer and then tx_buf() to get the actual data. Call fb_dump() to get the image as a numpy array. The exec_script method tells the camera to run a python file.
by kwagyeman
Mon Jun 18, 2018 1:57 pm
Forum: Project Discussion
Topic: Sending an image from open mv to Raspberry Pi over 1000ft
Replies: 4
Views: 58

Re: Sending an image from open mv to Raspberry Pi over 1000ft

Hi, I should be able to work on this Tuesday. Packing for a move right now...
by kwagyeman
Mon Jun 18, 2018 1:47 pm
Forum: Technical Discussion
Topic: findContours
Replies: 21
Views: 4713

Re: findContours

Basic getting started is here: https://github.com/openmv/openmv/tree/master/ml/cmsisnn We'll be rolling all the docs out soon. I'm just moving from Oakland to SF so I'm quite busy with other things. In the mean time focus on training some nets on the PC. 3 layer nets like (Conv -> Pool -> ReLu ) * 3...
by kwagyeman
Mon Jun 18, 2018 1:39 pm
Forum: Technical Discussion
Topic: USB HID mode
Replies: 6
Views: 61

Re: USB HID mode

Mmm, the documentation generator included that file in the doc tree even though there are no links to it.

Not sure how to hide these files. I disabled them in the index but they still show up.
by kwagyeman
Mon Jun 18, 2018 1:37 pm
Forum: General Topics
Topic: Fail to open .py file..
Replies: 10
Views: 99

Re: Fail to open .py file..

Hi, I don't have that issue on windows with v1.9.0. What OS are you on?

I can load your demo file fine.
by kwagyeman
Mon Jun 18, 2018 1:24 pm
Forum: General Topics
Topic: Raspberry Pi and OpenMV IDE
Replies: 3
Views: 49

Re: Raspberry Pi and OpenMV IDE

1: Yes - https://github.com/openmv/openmv/blob/master/tools/pyopenmv.py I'll put some time in to update that script to do everything OpenMV IDE does so it's more robust. 2: OpenMV IDE only controls the OpenMV Cam. The point of the IDE is to provide an Arduino like experience for machine vision work....
by kwagyeman
Mon Jun 18, 2018 12:54 pm
Forum: General Topics
Topic: Fail to open .py file..
Replies: 10
Views: 99

Re: Fail to open .py file..

Hi, can you provide the file?
by kwagyeman
Sun Jun 17, 2018 11:29 am
Forum: Technical Discussion
Topic: findContours
Replies: 21
Views: 4713

Re: findContours

I have no plans to add that feature, you are free to add port the c code for it to the platform if you like. We offer find blobs which finds color blobs. As for finding contours around a object using a CNN outperforms traditional countur algorithms so we have no plans to support find_contours() for ...
by kwagyeman
Fri Jun 15, 2018 2:12 pm
Forum: Technical Discussion
Topic: 16bit 640x480 OV7725 read?
Replies: 3
Views: 51

Re: 16bit 640x480 OV7725 read?

Hi, we technically don't really support RGB565 VGA images. Everything else is supported normally. Just for RGB565 VGA images we don't have the RAM. (And Bayer images are just not supported for processing in general except for jpeg compression. However, we do provide raw byte access to the Bayer imag...

Go to advanced search