Search found 1084 matches

by kwagyeman
Mon Oct 23, 2017 1:54 pm
Forum: Technical Discussion
Topic: Error- Timeout error while getting firmware version
Replies: 2
Views: 7

Re: Error- Timeout error while getting firmware version

Hi, what version of the OpenMV Cam do you have? Do you have the M7 one? If so, do you get the timeout error as the first problem on connect? Or, did you update the firmware?
by kwagyeman
Sun Oct 22, 2017 5:44 pm
Forum: Technical Discussion
Topic: OSError 28
Replies: 5
Views: 20

Re: OSError 28

Yes, just reinstall the firmware and erase the internal flash drive. To do this click on the version label and follow the prompts.
by kwagyeman
Sun Oct 22, 2017 2:26 pm
Forum: Technical Discussion
Topic: OSError 28
Replies: 5
Views: 20

Re: OSError 28

Hi, we have a built-in method to do exactly what you are trying to do... Do: save("/file.pgm", roi = (x_pos, y_pos, width, height)) http://docs.openmv.io/library/omv.image.html#image.image.save When saved as a pgm file the binary will be saved in binary using the PGM file format: https://en.wikipedi...
by kwagyeman
Sat Oct 21, 2017 6:47 pm
Forum: Technical Discussion
Topic: OSError 28
Replies: 5
Views: 20

Re: OSError 28

Is this the internal flash memory? Or an SD card? If possible, please use and SD card for the file system. There are actually Desktop Operating System issues with the internal PYBFlash since it's FAT12 (because it's only 96KB). When you use an SD card most issues disappear.
by kwagyeman
Fri Oct 20, 2017 10:28 am
Forum: Technical Discussion
Topic: pyb.USB_VCP and sensor (and led) interference ?
Replies: 4
Views: 43

Re: pyb.USB_VCP and sensor (and led) interference ?

I've seen this problem before. It's do to the readline() call mostlikely. That blocks. Instead, do the any() call and accumulate bytes yourself into a string. Then look for a newline at the end of the string and parse that. Basically, don't try to read more bytes than any() says are available.
by kwagyeman
Thu Oct 19, 2017 3:07 pm
Forum: Technical Discussion
Topic: pyb.USB_VCP and sensor (and led) interference ?
Replies: 4
Views: 43

Re: pyb.USB_VCP and sensor (and led) interference ?

Hi, are you trying to use the USB VCP port while the IDE is connected? The IDE and your application can't share the port. It's safer to use the regular UART and command the system through that. Mmm, please create a bug request for a second USB VCP ort n the GitHub. It probably is possible to add ano...
by kwagyeman
Tue Oct 17, 2017 12:39 pm
Forum: General Topics
Topic: codes running related to powering up frequently
Replies: 3
Views: 51

Re: codes running related to powering up frequently

Can you post the code please?
by kwagyeman
Mon Oct 16, 2017 10:46 am
Forum: General Topics
Topic: OpenMV interfacing with a TI MSP432 processor
Replies: 4
Views: 67

Re: OpenMV interfacing with a TI MSP432 processor

Hi, I'm still now following what you are trying to do... you can't remove the camera module from our board or interface to it via another processor.

Can you describe what your plan is?
by kwagyeman
Mon Oct 16, 2017 10:44 am
Forum: Project Discussion
Topic: Weed Seeker Sprayer Project Proposal
Replies: 3
Views: 62

Re: Weed Seeker Sprayer Project Proposal

LAB and HSV are the same for this type of thing. You won't notice much difference. As for multiple cameras, all OpenMV Cams have standard I/O peripherals. I would have them communicate via serial. As for the I/O pins, we output 3.3v but are 5V tolerant meaning we can handle 5v being applied to the p...
by kwagyeman
Mon Oct 16, 2017 10:39 am
Forum: Project Discussion
Topic: Face recognition Project
Replies: 3
Views: 58

Re: Face recognition Project

Ibrahim actually worked on this for a while. I don't know how well it went. I'll let him answer.
by kwagyeman
Mon Oct 16, 2017 10:39 am
Forum: General Topics
Topic: codes running related to powering up frequently
Replies: 3
Views: 51

Re: codes running related to powering up frequently

Can you post the code that causes this issue to happen?
by kwagyeman
Sat Oct 14, 2017 10:56 am
Forum: Technical Discussion
Topic: MemoryError on img.find_rects() API
Replies: 1
Views: 32

Re: MemoryError on img.find_rects() API

Works for me using firmware v2.5.0 with OpenMV IDE v1.7.1
by kwagyeman
Sat Oct 14, 2017 10:50 am
Forum: Technical Discussion
Topic: FrameBuf access
Replies: 5
Views: 52

Re: FrameBuf access

by kwagyeman
Sat Oct 14, 2017 10:50 am
Forum: General Topics
Topic: OpenMV interfacing with a TI MSP432 processor
Replies: 4
Views: 67

Re: OpenMV interfacing with a TI MSP432 processor

HI, sorry for taking so long to get back to you. As for your question... I'm not sure why you bought the OpenMV Cam at all if you don't plan on using any of it's code... or even the MCU. This doesn't make sense to me. You can buy external camera modules to hookup to processors on the internet and st...
by kwagyeman
Sat Oct 14, 2017 10:46 am
Forum: Project Discussion
Topic: Weed Seeker Sprayer Project Proposal
Replies: 3
Views: 62

Re: Weed Seeker Sprayer Project Proposal

Hey, thanks for the nice write up. I'd love if everyone wrote as much as you so its easy to understand what you need help with: 1. Yes, the OpenMV Cam can do this. Other systems like the Pi can do this also. In general, you're looking to do color tracking which is easy. That said, the OpenMV Cam col...
by kwagyeman
Sat Oct 14, 2017 12:01 am
Forum: Project Discussion
Topic: Creating threshold for color blob tracking.
Replies: 5
Views: 1152

Re: Creating threshold for color blob tracking.

Shadow removal is actually a separate task that's extremely computationally expensive if you'd like to remove all shadows from the image. I didn't think it could be done on the M4 but it can probably be done on the m7. I will look into porting an algorithm for that. It will make color tracking way e...
by kwagyeman
Fri Oct 13, 2017 11:27 am
Forum: Technical Discussion
Topic: FrameBuf access
Replies: 5
Views: 52

Re: FrameBuf access

Pull the current github account and you can start working. Um, the MP framebuf class just exists for letting you write to a tiny LCD screen. So, if you're interested in making our image class work with that I'd just write a method to convert between the two formats. Let me know if you actually want ...
by kwagyeman
Fri Oct 13, 2017 9:58 am
Forum: Technical Discussion
Topic: FrameBuf access
Replies: 5
Views: 52

Re: FrameBuf access

The next version of the firmware is using MP v1.9.2.

That said, I think it would be better to use our image class and work in top of that... We have a lot of code written and will gladly accept PRs.
by kwagyeman
Fri Oct 13, 2017 2:46 am
Forum: General Topics
Topic: Strange behavior in the IDE.
Replies: 6
Views: 58

Re: Strange behavior in the IDE.

Hi, the issue is fixed. The version 4.3.0 was coming from an error page the IDE was parsing. I'll make the parsing error handling better for v1.8.0. As for if you accidentally upagraded... delete you "AppData/Romaing/OpenMV IDE" settings folder... or on mac/linux ".config/OpenMV IDE". OpenMV IDE wil...
by kwagyeman
Fri Oct 13, 2017 12:37 am
Forum: General Topics
Topic: Strange behavior in the IDE.
Replies: 6
Views: 58

Re: Strange behavior in the IDE.

We just switched servers. Will debug. The IDE is likely getting an error page and parsing it like a valid response.
by kwagyeman
Fri Oct 13, 2017 12:36 am
Forum: Technical Discussion
Topic: UART problem in firmware V2.6.0
Replies: 3
Views: 63

Re: UART problem in firmware V2.6.0

Before November 22nd.
by kwagyeman
Wed Oct 11, 2017 1:46 am
Forum: Technical Discussion
Topic: UART problem in firmware V2.6.0
Replies: 3
Views: 63

Re: UART problem in firmware V2.6.0

Please create a bug on github. Firmware version 2.6.0 is not released. Thanks for finding this.
by kwagyeman
Tue Oct 10, 2017 11:55 pm
Forum: General Topics
Topic: Question about getting started
Replies: 1
Views: 60

Re: Question about getting started

Yes, this is pretty easy to do on the OpenMV Cam. You can get 20 Hz without any problem. There's even an example frame differencing script. However, our resolution is a lot less than the Pi. 320x240 is about the sweet spot for this for us... but, I'm assuming you want a lot more resolution correct?
by kwagyeman
Tue Oct 10, 2017 2:45 am
Forum: General Topics
Topic: Need Dimensions For Open MV
Replies: 2
Views: 44

Re: Need Dimensions For Open MV

M == 8mm,
N == 7mm,
O == 15mm
by kwagyeman
Thu Oct 05, 2017 11:11 am
Forum: Technical Discussion
Topic: Watchdog
Replies: 3
Views: 55

Re: Watchdog

Mmm, it might be disabled in our code. Can you summit a bug to the GitHub repo about this. It will get fixed then for the next firmware release.
by kwagyeman
Thu Oct 05, 2017 11:10 am
Forum: Technical Discussion
Topic: HTML generated by mjpeg_streamer
Replies: 4
Views: 65

Re: HTML generated by mjpeg_streamer

The code for the mjpeg streamer is sent I the packet it sends. I suspect the webpage layout code is generated by the browser. Myabe Ibrahim knows.
by kwagyeman
Thu Oct 05, 2017 11:08 am
Forum: General Topics
Topic: SD Card Maximum Support?
Replies: 3
Views: 58

Re: SD Card Maximum Support?

We support SDHC cards up to 32gb at least. I haven't tried sdxc cards above 32gb. The PCB is 1.6mm.
by kwagyeman
Thu Oct 05, 2017 1:04 am
Forum: Technical Discussion
Topic: IDE Request: Pixel x,y and value when mouse over image
Replies: 3
Views: 54

Re: IDE Request: Pixel x,y and value when mouse over image

Note for the next IDE version the ROI and res info is moving to the histogram area so you can see it more easily.
by kwagyeman
Wed Oct 04, 2017 12:05 am
Forum: General Topics
Topic: Problems transferring images with USB-VCP commands
Replies: 4
Views: 95

Re: Problems transferring images with USB-VCP commands

On this line: if (str(msj) == "b'Captura'"): sensor.set_windowing((600, 480)) # V Res of 80 == less work (40 for 2X the speed). msje = ("Tomando Captura2") img = sensor.snapshot() usb.send(imagen) The imagen variable is not initialized before previously... So, MicroPython might not have caught the v...
by kwagyeman
Mon Oct 02, 2017 7:09 pm
Forum: General Topics
Topic: Problems transferring images with USB-VCP commands
Replies: 4
Views: 95

Re: Problems transferring images with USB-VCP commands

I can't debug your question right at this moment. I will get to it though. As for your second question, yes, the next version of the system will have the same performance as the raspberry pi zero, or, as the original raspberry pi. But, while drawing less than 200 mA. We will also have support for gl...
by kwagyeman
Mon Oct 02, 2017 7:03 pm
Forum: Technical Discussion
Topic: What is the best way to check memory usage?
Replies: 6
Views: 113

Re: What is the best way to check memory usage?

Mmm, since I can't see the code it's kinda hard. Can you make some code that shows the error that I can try? I can debug then. One thing to also try is to preallocate. I.e. allocate a bunch of large things first, then, deallocate one, put a new thing in it's place, and keep going. The heap may be fr...
by kwagyeman
Sun Oct 01, 2017 11:49 am
Forum: Technical Discussion
Topic: Usable ROM space
Replies: 1
Views: 60

Re: Usable ROM space

The M7 firm image is about 1.5 MB. This leaves 500 KB. If you want to run a CNN in C I recommend you load each layer into RAM via the SD card, execute it, and then load the next layer. Most vision algorithms have about 300KB to play with depending on how you structure you algorithm and how large of ...
by kwagyeman
Sun Oct 01, 2017 12:28 am
Forum: Technical Discussion
Topic: What is the best way to check memory usage?
Replies: 6
Views: 113

Re: What is the best way to check memory usage?

From my knowledge of MicroPython that array is actually 4X larger than you think since each number is stored in 4 bytes. Then, MP will allocate a new array on the += and another new array on the += again. Your script takes space too in RAM when it's parsed into a byte array. ... This seems to work o...
by kwagyeman
Sat Sep 30, 2017 11:19 pm
Forum: Technical Discussion
Topic: What is the best way to check memory usage?
Replies: 6
Views: 113

Re: What is the best way to check memory usage?

Can you post the code that's the issue? Python hides a lot of memory alloc sometimes. Usually, heap fragmentation is a problem if you allocate large things and remove them repeatedly.
by kwagyeman
Sat Sep 30, 2017 11:17 pm
Forum: Technical Discussion
Topic: IDE Request: Pixel x,y and value when mouse over image
Replies: 3
Views: 54

Re: IDE Request: Pixel x,y and value when mouse over image

Hi, just click on the image and drag. This will create a box which will show the color under the cursor and the ROI.

Let me know if this does what you need. I've thought about what you are asking for but I think the current way works better.
by kwagyeman
Sat Sep 30, 2017 10:57 pm
Forum: Technical Discussion
Topic: How to send some events from OpenMV kit to PC/laptop using USB ?
Replies: 1
Views: 56

Re: How to send some events from OpenMV kit to PC/laptop using USB ?

You can open a USB serial port on the OpenMV Cam using the VCP USB class. That said, using it conflicts with OpenMV IDE connecting to the camera. So, you can't use it while OpenMV IDE is connected to the OpenMV Cam. http://docs.openmv.io/library/pyb.USB_VCP.html I'd recommend using a side band seria...
by kwagyeman
Fri Sep 29, 2017 12:26 pm
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 83

Re: IDE not getting target file from Windows Explorer

I can send you the patched exe file tonight. Not sure if it will have linker issues though. You can try it and see if it works.
by kwagyeman
Fri Sep 29, 2017 11:43 am
Forum: General Topics
Topic: Fixed target point
Replies: 2
Views: 68

Re: Fixed target point

Please put more effort into you forum requests. I don't know what you want. Please try to write about what you want, why you want it, etc. Try to write a paragraph or so.
by kwagyeman
Fri Sep 29, 2017 3:13 am
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 83

Re: IDE not getting target file from Windows Explorer

This has been fixed for the next version of OpenMV IDE.
by kwagyeman
Fri Sep 29, 2017 1:42 am
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 83

Re: IDE not getting target file from Windows Explorer

Oh, okay, I'll fix this easily. I never designed it to handle this error. This has to do with how windows passes command line arguments to the IDE to open files. I know what's wrong.
by kwagyeman
Thu Sep 28, 2017 7:43 pm
Forum: General Topics
Topic: Problems transferring images with USB-VCP commands
Replies: 4
Views: 95

Re: Problems transferring images with USB-VCP commands

Is this from the USB DGB protocol that OpenMV IDE uses to communicate to the camera? Or, is this your code printing images via uart.write(img.compressed())?
by kwagyeman
Thu Sep 28, 2017 7:41 pm
Forum: Technical Discussion
Topic: Using a different cascade classifer
Replies: 11
Views: 767

Re: Using a different cascade classifer

It sounds like Linux just doesn't want to write to the device. Try chmod +w on the files.
by kwagyeman
Thu Sep 28, 2017 11:51 am
Forum: General Topics
Topic: IDE not getting target file from Windows Explorer
Replies: 7
Views: 83

Re: IDE not getting target file from Windows Explorer

I've never seen this issue. Drag and drop works on my PC along with being able to open any file you like via the open menu.

Do you have steps to reproduce?

Note... I have not tried double click. OpenMV IDE doesn't own .py files.
by kwagyeman
Thu Sep 28, 2017 11:36 am
Forum: Technical Discussion
Topic: Using a different cascade classifer
Replies: 11
Views: 767

Re: Using a different cascade classifer

Other questions?
by kwagyeman
Thu Sep 28, 2017 11:34 am
Forum: Technical Discussion
Topic: custom ROI in sensor
Replies: 1
Views: 57

Re: custom ROI in sensor

You just need to set the resolution to less than or equal to 320x240 for more than 30 FPS. As for a custom ROI, please use the set_windowing() method.
by kwagyeman
Wed Sep 27, 2017 10:51 pm
Forum: Project Discussion
Topic: Find the number of lines inside a specific area
Replies: 1
Views: 82

Re: Find the number of lines inside a specific area

Here you go, you have to tune if for your application: # Counting vertical lines example script. # # Adjust the threshold value to max it so only really strong lines appear... A higher threshold for stronger lines. # Adjust the theta_margin value to control the merging of lines with similar angles. ...
by kwagyeman
Wed Sep 27, 2017 11:18 am
Forum: Technical Discussion
Topic: LCD screen
Replies: 1
Views: 38

Re: LCD screen

The OpenMV Cam has a spin bus which can transfer about 45 Mbs to another device. Is your LCD screen SPI based? I believe there are these LCD screens you can buy from 4D systems that hold all the graphics on board and you just send them what to draw and where.
by kwagyeman
Wed Sep 27, 2017 11:16 am
Forum: General Topics
Topic: How run People Detection
Replies: 1
Views: 82

Re: How run People Detection

Hi, we do don't support people detection right now. It could be added to the firmware.
by kwagyeman
Tue Sep 26, 2017 9:32 pm
Forum: General Topics
Topic: Face detection- color RGB(Not GRAYSCALE)
Replies: 2
Views: 71

Re: Face detection- color RGB(Not GRAYSCALE)

It's not supported in color right now. There was a technical limit on this long ago but it's not anymore. The code just have to be written to do the color conversion. It's on a massive to do list.
by kwagyeman
Tue Sep 26, 2017 9:30 pm
Forum: General Topics
Topic: Emulating OpenMV?
Replies: 1
Views: 62

Re: Emulating OpenMV?

Not really, however, please email OpenMV privately at our business email address.

Go to advanced search