Search found 1077 matches

by kwagyeman
Mon Oct 16, 2017 10:46 am
Forum: General Topics
Topic: OpenMV interfacing with a TI MSP432 processor
Replies: 4
Views: 27

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

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: 2
Views: 13

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: 2
Views: 11

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Re: Emulating OpenMV?

Not really, however, please email OpenMV privately at our business email address.
by kwagyeman
Tue Sep 26, 2017 9:29 pm
Forum: General Topics
Topic: ROBOCARS
Replies: 1
Views: 56

Re: ROBOCARS

I'll have my build instructions done soon for my robot. I've done all the write up but now I finally have all the parts so I can show me doing each step.
by kwagyeman
Mon Sep 25, 2017 12:17 pm
Forum: General Topics
Topic: find_displacement()
Replies: 3
Views: 53

Re: find_displacement()

The reason it's so noisy is because someone wanted sub pixel accuracy. So it's trying to interpolate a position between pixels. This is highly affected by noise.
by kwagyeman
Mon Sep 25, 2017 12:15 pm
Forum: General Topics
Topic: find_displacement()
Replies: 3
Views: 53

Re: find_displacement()

The output is really noisy by default. If you want to Clean the noise up use int() on the floating point outputs to convert them to decimal and it will work like you think.

I was trying to output the data like an accelerometer but that's probably too advanced for folks.
by kwagyeman
Mon Sep 25, 2017 11:45 am
Forum: Technical Discussion
Topic: OpenMV3 firmware development
Replies: 4
Views: 86

Re: OpenMV3 firmware development

Is there a reason you need doubles? I've ported a lot of PC code to the OpenMV Cam now and found doubles to be completely unnecessary each time. See the top of the aprtiltags.c file for how I basically turned all doubles and all methods that worked on doubles to work on floats without editing the co...
by kwagyeman
Sun Sep 24, 2017 5:53 pm
Forum: Technical Discussion
Topic: Newly bought Wifi Shield hanged
Replies: 10
Views: 97

Re: Newly bought Wifi Shield hanged

Yes, email us with you info. Please also attach your telephone number if you are not in the US.
by kwagyeman
Sat Sep 23, 2017 10:57 pm
Forum: Technical Discussion
Topic: Newly bought Wifi Shield hanged
Replies: 10
Views: 97

Re: Newly bought Wifi Shield hanged

Hi, do you see any shorts on the module pins to other pads? I can't tell from the image. We've seen issues with the module not soldering correctly.
by kwagyeman
Sat Sep 23, 2017 10:56 pm
Forum: Technical Discussion
Topic: Fixed sensor settings
Replies: 3
Views: 49

Re: Fixed sensor settings

As for checking the image... do, img.get_statistics(). This methods will average the colors in the image given a region of interest for you. You can find the method to use here: http://docs.openmv.io/library/omv.image ... statistics.

Go to advanced search