Search found 1946 matches

by kwagyeman
Thu Jun 21, 2018 2:03 pm
Forum: Project Discussion
Topic: UART to NodeMcu
Replies: 7
Views: 47

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: 1
Views: 12

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

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

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: 10
Views: 115

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

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

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

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

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

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

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

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

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

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

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

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: 10
Views: 115

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: 10
Views: 115

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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...
by kwagyeman
Fri Jun 15, 2018 12:17 pm
Forum: General Topics
Topic: Size of an object in an image
Replies: 1
Views: 39

Re: Size of an object in an image

This is a duplicate post. I answered your question in another post.
by kwagyeman
Fri Jun 15, 2018 12:16 pm
Forum: Technical Discussion
Topic: Size of an object in an image
Replies: 1
Views: 30

Re: Size of an object in an image

Yes, have you see the find_blobs() method? It returns a list of color blobs which have a .w() and .h() attribute for the width and height of the blob respectively. You need some way to segment the image using color however.
by kwagyeman
Fri Jun 15, 2018 12:15 pm
Forum: General Topics
Topic: Regarding openmv cam m7
Replies: 2
Views: 50

Re: Regarding openmv cam m7

Hi, we gave away OpenMV Cams with a free case for the updated SparkFun unit. This was a one time thing.
by kwagyeman
Fri Jun 15, 2018 12:14 pm
Forum: Technical Discussion
Topic: 16bit 640x480 OV7725 read?
Replies: 3
Views: 44

Re: 16bit 640x480 OV7725 read?

Hi, when you set the camera to RGB565 at 640x480 there's not enough RAM onboard to store the image so we switch to BAYER format and then debayer the image for JPG file saving support. You can get more than 1 FPS and easily get above 10 FPS.
by kwagyeman
Fri Jun 15, 2018 12:12 pm
Forum: Project Discussion
Topic: parking slot detection
Replies: 1
Views: 30

Re: parking slot detection

Hi, we don't support yolo CNNs yet. However, we're about to release CNN support on the OpenMV Cam at the end of the month. You'll be able to use a sliding window CNN approach. We have a method that does the sliding part for you. So, you just have to make a classifier. Here's the video demo of CNN su...
by kwagyeman
Thu Jun 14, 2018 8:14 am
Forum: Technical Discussion
Topic: How can I build a OpenMV in the IAR?
Replies: 1
Views: 34

Re: How can I build a OpenMV in the IAR?

Hi,the project is open source. So, if you'd like to make such modifications to the move the MicroPython part of the firmware and just keep the vision libs you really should just copy the code files and import them into your IAR project.
by kwagyeman
Wed Jun 13, 2018 7:44 pm
Forum: Technical Discussion
Topic: Camera screen disappear
Replies: 2
Views: 35

Re: Camera screen disappear

Click on the drawer icon on the right of the screen. :)

The little arrow iconon the right.
by kwagyeman
Wed Jun 13, 2018 12:55 pm
Forum: Technical Discussion
Topic: Restart camera from raspberry pi zero
Replies: 4
Views: 42

Re: Restart camera from raspberry pi zero

Hi, in OpenMV IDE see Tools -> Reset OpenMV Cam.
by kwagyeman
Wed Jun 13, 2018 11:14 am
Forum: Technical Discussion
Topic: General question about QtCreator
Replies: 1
Views: 31

Re: General question about QtCreator

Hi, you can't get rid of those messages without messing with the qmake scanning process. They are all not serious errors so I just ignore them. Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version. Project MESSAGE: Running this pr...
by kwagyeman
Tue Jun 12, 2018 1:22 pm
Forum: Technical Discussion
Topic: Sleep Mode - Wakeup with external interrupt
Replies: 5
Views: 63

Re: Sleep Mode - Wakeup with external interrupt

That said, my USB current meter reports 0ma on the M7 when I do this.
by kwagyeman
Tue Jun 12, 2018 1:21 pm
Forum: Technical Discussion
Topic: Sleep Mode - Wakeup with external interrupt
Replies: 5
Views: 63

Re: Sleep Mode - Wakeup with external interrupt

Hi, you need to also shutdown the camera. Please execute the sleep method for the camera sensor.
by kwagyeman
Tue Jun 12, 2018 11:46 am
Forum: Technical Discussion
Topic: haw can y upgrade the firmware
Replies: 1
Views: 33

Re: haw can y upgrade the firmware

Hi, please see our GitHub repo: https://github.com/openmv/openmv/releases.

Go to Tools -> Run Bootloader in OpenMV IDE.
by kwagyeman
Tue Jun 12, 2018 11:44 am
Forum: Technical Discussion
Topic: Can you tell me how you invoke ffmpeg
Replies: 6
Views: 59

Re: Can you tell me how you invoke ffmpeg

Hi, I can change the emulator method to xterm on open suse. However, maybe the OS should define that program pointer so it would work normally? Anyway, as for ImageWriter, yes, when converting it to a video I make an mjpeg image file with each frame and then run ffmpeg on that. Similarly, when I wri...

Go to advanced search