Search found 2447 matches

by kwagyeman
Sun Oct 30, 2016 10:55 am
Forum: Project Discussion
Topic: Creating threshold for color blob tracking.
Replies: 10
Views: 4104

Re: Creating threshold for color blob tracking.

Literally click on the area of the image you want to track colors of and the histogram will now update to just the color distribution of that area. You just select the area of the image by click and dragging.
by kwagyeman
Sat Oct 29, 2016 8:51 pm
Forum: Technical Discussion
Topic: Newbie questions about getting started
Replies: 10
Views: 2447

Re: Newbie questions about getting started

As for your questions: A solid red LED without you running a program means that the OS is accessing the file system. MAC is most likely writing info to the flash drive about the drive state. As for updating the firmware, no, we've just had a hard time connecting to the thing... the new IDE does as m...
by kwagyeman
Sat Oct 29, 2016 8:47 pm
Forum: Technical Discussion
Topic: Newbie questions about getting started
Replies: 10
Views: 2447

Re: Newbie questions about getting started

Alright, here's the download link. Note that I'm not quite done with all my changes for this release yet: http://openmv.io/upload/openmv-ide-windows-1.3.0/openmv-ide-windows-1.3.0.exe The new IDE has a much improved bootloader that should connect. But, if there's a problem it also has the DFU progra...
by kwagyeman
Sat Oct 29, 2016 7:33 pm
Forum: Technical Discussion
Topic: Newbie questions about getting started
Replies: 10
Views: 2447

Re: Newbie questions about getting started

Hi, a lot of folks have been having issues with the IDE. We're about to release a new version that fixes the bootloader. I'm not done with everything just yet over here. But, I can release a pre-release for you. Give me a second...
by kwagyeman
Mon Oct 24, 2016 10:33 am
Forum: Technical Discussion
Topic: heliostat project
Replies: 48
Views: 10233

Re: heliostat project

Hmm, so, I'm not quite sure how you can get rid of lens flare. That said, if you want to play with the exposure settings please use the register read and write commands to directly manipulate regs in the system. Don't use the set_exposure_cntr. That function is just some left over cruft. Here's the ...
by kwagyeman
Sun Oct 23, 2016 4:21 pm
Forum: Project Discussion
Topic: Long exposures
Replies: 4
Views: 2023

Re: Long exposures

For the second question the sensor ID value is an enum. So, you have to compare the value output with the enum type. The value of the return doesn't make sense directly on it's own. It's just a number.
by kwagyeman
Sun Oct 23, 2016 4:17 pm
Forum: Project Discussion
Topic: Long exposures
Replies: 4
Views: 2023

Re: Long exposures

You can do time lapse photos by using the blend command. So, basically you take pictures and then blend them together. See the advanced frame differencing script for how to do this... (Note, this reminds me that I should add an example for this). In the advanced frame differencing script I blend ima...
by kwagyeman
Sat Oct 22, 2016 9:10 pm
Forum: Technical Discussion
Topic: Problems with Wifi Shield
Replies: 28
Views: 6204

Re: Problems with Wifi Shield

This is probably a manufacturing issue with the headers...

I see what MacroFab can do to address this. Thanks for posting.
by kwagyeman
Sat Oct 22, 2016 5:13 pm
Forum: General Topics
Topic: Can the board works disconnected from IDE ?
Replies: 19
Views: 5313

Re: Can the board works disconnected from IDE ?

Hi Bob63, Yeah, it looks like anything's never worked for you so I can imagine you'd think the system is bad. We're kinda in alpha right now... Anyway, I'll have a new version of the IDE out in the next two weeks with improved bootloader code that should connect more often. However, the bootloader s...
by kwagyeman
Sat Oct 22, 2016 4:47 pm
Forum: General Topics
Topic: Communication with PC whie main (or ide) is running
Replies: 9
Views: 3267

Re: Communication with PC whie main (or ide) is running

The image object acts as a python buffer object. Meaning that you can send images bytes out of the system anytime. You can also array [] index the image and edit pixels directly. In gray scale the image is just 0-255 value bytes and for RGB its an RGB565 image with the byte order reversed.
by kwagyeman
Fri Oct 21, 2016 8:58 am
Forum: Technical Discussion
Topic: Problems with Wifi Shield
Replies: 28
Views: 6204

Re: Problems with Wifi Shield

Can you post a picture?
by kwagyeman
Wed Oct 19, 2016 2:59 pm
Forum: General Topics
Topic: Lens capability
Replies: 2
Views: 1540

Re: Lens capability

Hi, I don't actually know the capabilities of that particular lens because we bought them through a third party. That said, we've been specing out a supplier directly and they offer the same type of lens. Anyway, here's the info I have: Aperture F2.0 Mount: M12*0.5 Format: 1/2.5" Angle: 82° Or its: ...
by kwagyeman
Tue Oct 18, 2016 6:11 pm
Forum: Technical Discussion
Topic: heliostat project
Replies: 48
Views: 10233

Re: heliostat project

Alright, go back to playing with the P gains then. If you want to make the algorithm better look up the term PID control and search for example code.
by kwagyeman
Tue Oct 18, 2016 9:50 am
Forum: Technical Discussion
Topic: heliostat project
Replies: 48
Views: 10233

Re: heliostat project

The OpenMV cam doesn't supply voltage to the servos. So, I'm not sure how they are being powered right now. But, servos directly connected to the VIN of the board can cause brown outs. So, if possible please give the servos their own power supply that is separate from the Cam. Just make sure to shar...
by kwagyeman
Mon Oct 17, 2016 3:01 pm
Forum: Technical Discussion
Topic: heliostat project
Replies: 48
Views: 10233

Re: heliostat project

Try lowering the gains more. They both interact with each other. Like, lower each to 0.1 and then up them from there.
by kwagyeman
Mon Oct 17, 2016 2:34 pm
Forum: Technical Discussion
Topic: heliostat project
Replies: 48
Views: 10233

Re: heliostat project

Okay, then make the gain -0.6.

The code is doing a P control algorithm. So, you have to tune things carefully.

When values are way above what they should be then the P control loop is very violent.
by kwagyeman
Mon Oct 17, 2016 2:07 pm
Forum: Technical Discussion
Topic: heliostat project
Replies: 48
Views: 10233

Re: heliostat project

Hi luik, Have you determined your servo mins and maxes? If so, then I'm guessing the PID control loop for the Y channel is inverted. So, please remove the "-" sign from the y_gain value and set the gain to like 0.1 and then increase it steadily until the system stabilizes and has the performance you...
by kwagyeman
Sat Oct 15, 2016 2:17 pm
Forum: Technical Discussion
Topic: face tracking with servos
Replies: 17
Views: 6452

Re: face tracking with servos

Okay, so you need to tune the pulse widths in that code. So, remove all the while loop stuff and just set the pulse widths manually. s1.pulse_width(1000) s2.pulse_width(1000) Then check if the servo output is okay and keep changing the pulse widths until you determine the min and max range of the se...
by kwagyeman
Sat Oct 15, 2016 1:20 pm
Forum: General Topics
Topic: Communication with PC whie main (or ide) is running
Replies: 9
Views: 3267

Re: Communication with PC whie main (or ide) is running

Thanks!

It will keep getting better. Right now we're still alpha-ish. But, the product is usable.
by kwagyeman
Sat Oct 15, 2016 12:51 pm
Forum: General Topics
Topic: Communication with PC whie main (or ide) is running
Replies: 9
Views: 3267

Re: Communication with PC whie main (or ide) is running

See the main.py example under the basics examples.
by kwagyeman
Sat Oct 15, 2016 12:49 pm
Forum: General Topics
Topic: Communication with PC whie main (or ide) is running
Replies: 9
Views: 3267

Re: Communication with PC whie main (or ide) is running

Yes, both will appear as serial ports and USB devices. Our GUI autoconnects when only one is present. When you have two it will ask you for info before connecting.
by kwagyeman
Sat Oct 15, 2016 11:03 am
Forum: General Topics
Topic: Communication with PC whie main (or ide) is running
Replies: 9
Views: 3267

Re: Communication with PC whie main (or ide) is running

Hi, windows won't rescan the USB device until it is reconnected. If you want to see new files you have to click Tools->Reset and the drive will remount with the new files. Anyway, while the IDE is connected the camera is in USB debug mode. The serial port is in use by the IDE. When the IDE is not co...
by kwagyeman
Fri Oct 14, 2016 2:26 pm
Forum: Technical Discussion
Topic: face tracking with servos
Replies: 17
Views: 6452

Re: face tracking with servos

Hi, can you post the script you're using? The documentation about servos is here: http://docs.micropython.org/en/latest/pyboard/library/pyb.Servo.html You may wish to set the servo pulse width instead of angle. As for getting the exact value of the min and max pulse width. You have to try mins and m...
by kwagyeman
Tue Oct 11, 2016 6:30 pm
Forum: Technical Discussion
Topic: Problems with Wifi Shield
Replies: 28
Views: 6204

Re: Problems with Wifi Shield

We looked into using the EPS32 for this. Unfortunately they didn't add a camera interface so one of the two cores will have to spend more or less 100% of the time capturing images always since it would have to go into an interrupt routine to poll a 24 MHz clock source from the camera constantly. The...
by kwagyeman
Mon Oct 10, 2016 9:22 am
Forum: Technical Discussion
Topic: Problems with Wifi Shield
Replies: 28
Views: 6204

Re: Problems with Wifi Shield

Hi, to get around the IDE issue there's a file in the IDE dir called share/QtCreator/firmware/version.txt. Make the version number 2.0.0.
by kwagyeman
Sat Oct 08, 2016 10:02 am
Forum: General Topics
Topic: Can the board works disconnected from IDE ?
Replies: 19
Views: 5313

Re: Can the board works disconnected from IDE ?

Hi, you are using the super old IDE. Please see our website and download the new IDE. Please see the downloads page on our website.
by kwagyeman
Tue Oct 04, 2016 4:51 pm
Forum: Technical Discussion
Topic: Unable to update firmware
Replies: 2
Views: 1165

Re: Unable to update firmware

Hi, can you try connecting BOOT to RST? VCC is the VIN input (badly named). Or connect BOOT to 3.3V. Then the device should appear as a DFU device. Please follow the guide here: https://github.com/openmv/openmv/wiki/U ... r-firmware
by kwagyeman
Tue Oct 04, 2016 7:57 am
Forum: General Topics
Topic: Can the board works disconnected from IDE ?
Replies: 19
Views: 5313

Re: Can the board works disconnected from IDE ?

On my phone, so, short answer.

Click tools, and the then save to OpenMV cam. The IDE will then ask you if you want comments striped. Then go to tools and click reset OpenMV cam.

The board will now run the script you loaded onto it without the IDE.
by kwagyeman
Sun Oct 02, 2016 8:37 pm
Forum: General Topics
Topic: IDE editor - possible to change to emacs/vim/...xyz?
Replies: 3
Views: 1919

Re: IDE editor - possible to change to emacs/vim/...xyz?

Hi, right now we don't support something like that and we'll probably not. I'm guessing you're used to VIM key bindings. The editor interface is based on QtCreator. So, it's certainly powerful but I hid a lot of the functionality to make the system more approachable for everyone. Anyway, you can alw...
by kwagyeman
Wed Sep 28, 2016 7:44 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

So, we changed the debug API around a bit going from version v1.4 (release version) to v1.7. It's just easier to do the IDE without trying to support multiple firmwares. That said, this assumes everyone can use the bootloader. Which I fear isn't going to be possible given that it's only active for 5...
by kwagyeman
Fri Sep 23, 2016 5:00 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

Yeah, the problem is that we can't update it. The bootloader was programmed by the factory into every board. For the next batch of OpenMV Cams we make this will be fixed.

Can you use the DFU tool? It's really easy to use on Windows. Once the firmware is updated the IDE will stop asking.
by kwagyeman
Fri Sep 23, 2016 4:35 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

Hi, did you try out the latest release? https://openmv.io/download/ I just finished releasing the IDE with my changes. Serial communication is rock solid now. But, the boot loader only has a 500 ms window for the IDE to connect and the computer takes longer than 500 ms sometimes to enumerate. I thin...
by kwagyeman
Thu Sep 22, 2016 10:39 pm
Forum: General Topics
Topic: center coordinates jumpy
Replies: 7
Views: 2577

Re: center coordinates jumpy

That's because the centroid in that case is the average of the two blobs. Hmm... well, that kind of behavior is somewhat to be expected. All find markers does is merge overlapping blobs for you. If you're merging a bunch of small blobs then the output will be jumpy. Can you save a picture of what yo...
by kwagyeman
Thu Sep 22, 2016 4:17 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

Use the OMV2/openmv.bin if you're using the manual tools. The firmware.bin is only good if you have the bootloader connection working.
by kwagyeman
Thu Sep 22, 2016 4:16 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

Firmware dev: https://github.com/openmv/openmv/wiki/Firmware-Development. And another guide. https://github.com/openmv/openmv/wiki/Using-DFU-to-update-your-firmware If you're having problems with the newest Linux IDE I uploaded I'm not sure if the new IDE fixes will help... we'll see. There will be ...
by kwagyeman
Thu Sep 22, 2016 4:11 pm
Forum: Technical Discussion
Topic: connect as serial or sd card
Replies: 6
Views: 2142

Re: connect as serial or sd card

Note: Skip installing the udev rules. The new IDE doesn't need them.
by kwagyeman
Thu Sep 22, 2016 4:11 pm
Forum: Technical Discussion
Topic: connect as serial or sd card
Replies: 6
Views: 2142

Re: connect as serial or sd card

Just install the firmware development environment. Then you can use the dfu script to flash the device:

https://github.com/openmv/openmv/wiki/F ... evelopment
by kwagyeman
Thu Sep 22, 2016 2:33 pm
Forum: Technical Discussion
Topic: ide suggestions
Replies: 3
Views: 1468

Re: ide suggestions

Thanks for using the system. I'm happy to have customers!
by kwagyeman
Thu Sep 22, 2016 2:25 pm
Forum: Technical Discussion
Topic: ide suggestions
Replies: 3
Views: 1468

Re: ide suggestions

The script needs to be updated. That was written for the old GTK IDE. As for erasing the file system you wouldn't want to erase that if you had some special stuff on board. As for the highlighter that's just broken right now. The IDE we are using has really good support for C/C++ highlighting and a ...
by kwagyeman
Thu Sep 22, 2016 2:22 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

The linux version in the link above should work fine. I only broke the windows version in the link above.
by kwagyeman
Thu Sep 22, 2016 1:54 pm
Forum: Technical Discussion
Topic: connect as serial or sd card
Replies: 6
Views: 2142

Re: connect as serial or sd card

Ibrahim, any thoughts?
by kwagyeman
Thu Sep 22, 2016 1:53 pm
Forum: Technical Discussion
Topic: connect as serial or sd card
Replies: 6
Views: 2142

Re: connect as serial or sd card

You should see a USB can serial port appear. It also comes up as an SD card too.
by kwagyeman
Thu Sep 22, 2016 1:52 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

Yeah, the version I uploaded used to work, but then I was testing the overwrote it with another bad testing version.

Anyway, we bought a USB analyzer to figure out the problem. The next IDE will be rock solid.
by kwagyeman
Thu Sep 22, 2016 1:50 pm
Forum: General Topics
Topic: center coordinates jumpy
Replies: 7
Views: 2577

Re: center coordinates jumpy

Use the histogram in the GUI to get the exact color bounds needed. Note that you can select an area in the framebuffer to get the color values for that area.
by kwagyeman
Thu Sep 22, 2016 1:49 pm
Forum: General Topics
Topic: center coordinates jumpy
Replies: 7
Views: 2577

Re: center coordinates jumpy

Sure, that's fine. You can also use the pixels value to determine the quality of the lock. If the object size is fixed then you should roughly know how many pixels should be tracked.
by kwagyeman
Thu Sep 22, 2016 11:46 am
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

Hi, I accidentally overwrote that software with a test version recently.

I just finished debugging the whole issue and figured out the root cause and we'll have the release done for all OSes by Friday. I can have the windows version up by tonight.
by kwagyeman
Thu Sep 22, 2016 11:44 am
Forum: General Topics
Topic: center coordinates jumpy
Replies: 7
Views: 2577

Re: center coordinates jumpy

Hi, the centroid is the average position of the center of all the pixels in the blob. So, if it's jumping around a lot you should widen your color bounds.
by kwagyeman
Mon Sep 19, 2016 7:25 pm
Forum: Project Discussion
Topic: Part Alignment Confirmation...
Replies: 4
Views: 2050

Re: Part Alignment Confirmation...

Hi Dan, So, how do you plan to mount the OpenMV Cam? If you have it hooked up in a rig and the part is always in the same place then you can actually just take the color average of a small square area to get if the shaft is looking at you or not. This is very easy: https://openmv.io/docs/library/omv...
by kwagyeman
Sun Sep 18, 2016 10:50 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8340

Re: Firmware update

If you have problems with the drive not being found on linux let me know where it's mounted. Right now I filter out all paths not under "/media". I'll be adding "/run/media" for Arch Linux.

Go to advanced search