Search found 4458 matches

by kwagyeman
Thu Sep 22, 2016 2:25 pm
Forum: Technical Discussion
Topic: ide suggestions
Replies: 3
Views: 2668

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

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

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

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

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

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

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

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

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

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

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.
by kwagyeman
Sun Sep 18, 2016 10:49 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 14748

Re: Firmware update

Hi Atuour, I almost had the release out today but ran into issues with Mac. So, for right now I just have linux and windows done: http://openmv.io/upload/openmv-ide-windows-1.2.0/openmv-ide-windows-1.2.0.exe http://openmv.io/upload/openmv-ide-linux-x86-1.2.0/openmv-ide-linux-x86-1.2.0.run http://ope...
by kwagyeman
Sun Sep 18, 2016 10:05 am
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 14748

Re: Firmware update

Hi, I'm working on releasing an updated IDE very soon. The current IDE has some serial issues that make it difficult to connect. The new IDE can connect but is trying to update the firmware which it's unable to. I'll have the new IDE out by the end of the day (hopefully). Think you can wait till then?
by kwagyeman
Sun Sep 18, 2016 10:03 am
Forum: Technical Discussion
Topic: IDE version ?
Replies: 1
Views: 1574

Re: IDE version ?

That was the old IDE. The new one is completely different.
by kwagyeman
Fri Sep 16, 2016 8:31 pm
Forum: Project Discussion
Topic: Help on OpenMV output
Replies: 10
Views: 6688

Re: Help on OpenMV output

Was quite happy when writing this example. Everything worked well... yay! # Import modules... import pyb, sensor, image, time # User Thresholds red_threshold = ( 35, 60, 55, 85, 35, 65) blue_threshold = ( 5, 40, -15, 40, -70, 5) green_threshold = ( 15, 35, -65, 0, 5, 40) sensor.reset() sensor.set_pi...
by kwagyeman
Fri Sep 16, 2016 12:59 pm
Forum: Project Discussion
Topic: Help on OpenMV output
Replies: 10
Views: 6688

Re: Help on OpenMV output

Okay, I'll give you a serial example tonight.
by kwagyeman
Fri Sep 16, 2016 11:17 am
Forum: Project Discussion
Topic: Help on OpenMV output
Replies: 10
Views: 6688

Re: Help on OpenMV output

Could you use async serial? That works really well for this.
by kwagyeman
Fri Sep 16, 2016 11:16 am
Forum: Project Discussion
Topic: Help on OpenMV output
Replies: 10
Views: 6688

Re: Help on OpenMV output

I can try to make a demo this weekend.
by kwagyeman
Fri Sep 16, 2016 11:16 am
Forum: Project Discussion
Topic: Help on OpenMV output
Replies: 10
Views: 6688

Re: Help on OpenMV output

The I2C command is in the one line that does the memory read. It's near the top of the script. Di you read the help link? https://openmv.io/docs/library/pyb.I2C.html. See another example here: https://openmv.io/docs/openmvcam/quickref.html#i2c-bus. Anyway, I don't have a teensy. So, I can;t help on ...
by kwagyeman
Thu Sep 15, 2016 9:42 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Wait, I have a fix. I'll filter out all drives not mounted in media.
by kwagyeman
Thu Sep 15, 2016 9:26 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Deshipu,

Qt has no easy way using the http://doc.qt.io/qt-5/qstorageinfo.html class to filter out EFI partitions.

I'll make another installer for linux with a fix to ignore the drive if EFI is in it's name. However, I need to focus on other things right now.
by kwagyeman
Thu Sep 15, 2016 7:07 pm
Forum: Project Discussion
Topic: Help on OpenMV output
Replies: 10
Views: 6688

Re: Help on OpenMV output

Thanks for using the system out! We're like brand new right now which means everything is kinda not documented that well. Anyway, https://openmv.io/docs/library/omv.image.html#image.image.find_blobs There's the doc page. As for picking the color ranges, the GUI makes this really easy. Just select th...
by kwagyeman
Thu Sep 15, 2016 8:24 am
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Hi, you have to run the LCD demo script. The cam has to be told to update the LCD. Don't worry, adding LCD to your code is only 1 line.
by kwagyeman
Wed Sep 14, 2016 2:52 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Okay,

Um, about the EFI partition. Is that a FAT partition? I'd like to filter that out possibly for you. Right now the IDE looks for FAT partitions that are writable.

As for the PID and VID. That's odd... Pretty sure it was tje Foss one before.
by kwagyeman
Tue Sep 13, 2016 8:28 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Please try this version of the IDE out (assumed you had 64-bit linux) http://openmv.io/upload/openmv-ide-linux-x86_64-1.2.0/openmv-ide-linux-x86_64-1.2.0.run. I don't have all the fixes I've been working on in this version of the IDE. I just disabled the port filtering. Please let me know what you s...
by kwagyeman
Tue Sep 13, 2016 5:22 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

I'll make a version of the Ide tonight that will print out the info it sees. This will let me know what device type I need to look for.

Does the OpenMV cam appear as a try serial port? In dev?
by kwagyeman
Tue Sep 13, 2016 3:24 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

The uploader that worked for you doesn't filter by the PID and vid so it didn't care.
by kwagyeman
Tue Sep 13, 2016 3:24 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Yeah, I'm looking for a good and vid pair that makes a serial port. Use rules might mess this up.
by kwagyeman
Sun Sep 11, 2016 12:11 pm
Forum: Technical Discussion
Topic: Detect motion direction
Replies: 9
Views: 5538

Re: Detect motion direction

Hi, you need to update your firmware. We released a new version of the Ide that hasn't the newest firmware that fixes this issue. When Ibrahim updated the MicroPyhton version to v1.8 the os module was not included.
by kwagyeman
Sat Sep 10, 2016 10:56 am
Forum: Technical Discussion
Topic: Detect motion direction
Replies: 9
Views: 5538

Re: Detect motion direction

Okay, then you'll want to do combined frame differencing with blob detection. Optical flow is really for just using the Cam like a mouse. So, see the advanced frame differencing script. Is in the examples folders. Anyway, after you have the difference frame you can use the find_blobs function on the...
by kwagyeman
Fri Sep 09, 2016 7:14 pm
Forum: Technical Discussion
Topic: Detect motion direction
Replies: 9
Views: 5538

Re: Detect motion direction

Okay, so, is the room in a controlled environment and is the lighting constant? If so, it will actually be better to use color tracking for anything that isn't the color of the hallway. The camera will then tell you about all the color blobs moving around in the hallway. Each blob will give you a bo...
by kwagyeman
Fri Sep 09, 2016 1:59 pm
Forum: Project Discussion
Topic: Part Alignment Confirmation...
Replies: 4
Views: 3869

Re: Part Alignment Confirmation...

I haven't tested template matching since the v1.8 update. It works a lot better right now but documentation is pending. You'd want to use template matching however. Ibrahim, can you comment in detail on how to use that function?
by kwagyeman
Thu Sep 08, 2016 10:27 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

I can report that it works fine on my Mac Mini. The new model with USB 3.0 ports. (2014?)

Anyway, updated IDE coming soon this weekend. If you installed v1.1.0 it will let you know when the new version is available.

Thanks wminarik
by kwagyeman
Wed Sep 07, 2016 9:58 am
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

@Kermit666 - Inability to connect is a separate issue from the USB packets. When you plug in your OpenMV Cam... does it appear as a device in your device manager? If so, what device does it appear as? There's no IDE fix I can do to solve any problem related to the Cam not connecting to the PC initia...
by kwagyeman
Wed Sep 07, 2016 9:32 am
Forum: Technical Discussion
Topic: Using a different cascade classifer
Replies: 11
Views: 4839

Re: Using a different cascade classifer

Ibrahim will have to answer this. Most likely the loading code has a bug and a firmware fix will be needed.
by kwagyeman
Wed Sep 07, 2016 9:29 am
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

I'm working on something else that can fix this all. So, the OpenMV Cam debugging protocol was written for libsub originally. It worked for that. But, when libusb was not usable on windows the debugging protocol was then embedded in the USB CDC calls. Anyway, this means that commands must be sent to...
by kwagyeman
Mon Sep 05, 2016 7:02 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Okay, spent all day on this. A new version of the IDE has been uploaded for the above link: http://openmv.io/upload/openmv-ide-windows-1.2.0/openmv-ide-windows-1.2.0.exe. Let me know if version works better. I'm aiming for another release of the IDE by the end of the week with all these fixes. I upd...
by kwagyeman
Mon Sep 05, 2016 12:39 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

I'm getting some the connect issues your having with a windows 7 VM. I'm adding in code to retry commands right now. I don't think it will help to much. The firmware needs to be able to handle split USB serial packets which I think cause the problem.
by kwagyeman
Mon Sep 05, 2016 12:25 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

This is on windows 10? Or windows 7?
by kwagyeman
Mon Sep 05, 2016 10:43 am
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

The pyboard driver is the same too. Sigh... I believe there are some real problems in the serial firmware in the OpenMV Cam. But, we need a reproducible issue.
by kwagyeman
Mon Sep 05, 2016 10:41 am
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Yeah, windows 10 works a lot better. Our driver is actually the same as the Arduino.inf driver. I copied the code for what they did more or less. The problem is likely the interaction our camera firmware and the old operating system driver.
by kwagyeman
Mon Sep 05, 2016 12:26 am
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Actively working on this problem. I installed a windows 7 VM and I encountered the same behavior. Can you try out this version of the IDE? http://openmv.io/upload/openmv-ide-windows-1.2.0/openmv-ide-windows-1.2.0.exe. I made the get firmware timeout much longer. However, even after making the timeou...
by kwagyeman
Sun Sep 04, 2016 6:37 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

That's not an error message. It's supposed to print that out. The cam prints that when the IDE connects to it. I don't know what's going on with the serial driver for you. However, I'm testing with windows 7 right now to get to the bottom of this. On windows 10 we're not seeing any problems because ...
by kwagyeman
Sun Sep 04, 2016 1:52 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Can you try the firmware update process again since the driver is installed? Also, please delete the flash file system. If the boot-loader works then the camera units are fine. Getting a timeout error on connect is very weird. This only happens if the cam takes over 500 ms to respond. Not sure why t...
by kwagyeman
Sun Sep 04, 2016 1:29 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Note that you need to install the latest GUI from our website.
by kwagyeman
Sun Sep 04, 2016 1:26 pm
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Hmm, okay. Might be able to fix this by installing our driver now. Please look into the IDE install folder: see /share/drivers/openmv/openmv.inf. Right click on that and click install. It's digitally signed now so windows should install it without any issues. Also, the pycdc driver is there to if yo...
by kwagyeman
Sun Sep 04, 2016 11:25 am
Forum: Technical Discussion
Topic: Difficulties Connecting
Replies: 70
Views: 27992

Re: Difficulties Connecting

Hmm, the IDE filters out USB ports by the VID/PID of the Cam. Okay, try this: Click the connect button while the Cam is not connected to the PC. The IDE will then ask you if you have a bricked OpenMV Cam. Say, yes, then select if you want to erase the flash drive or not. Doesn't matter. Then the IDE...
by kwagyeman
Sat Sep 03, 2016 8:38 am
Forum: General Topics
Topic: Documentation and Examples
Replies: 3
Views: 3552

Re: Documentation and Examples

I'm running this company in my free time after my day job. So, it's kinda triage at this point on what to work on. Sorry about that.
by kwagyeman
Sat Sep 03, 2016 8:37 am
Forum: General Topics
Topic: Documentation and Examples
Replies: 3
Views: 3552

Re: Documentation and Examples

Hi, did you use the new GUI? Please see the downloads page on the the OpenMV website. As for documentation on that function I don't have then time to finish it and the IDE. So, I will focus on the IDE first for now. As for how that function works. You just need to compare a copy if the old image ret...
by kwagyeman
Thu Sep 01, 2016 11:43 pm
Forum: Technical Discussion
Topic: findContours
Replies: 26
Views: 17421

Re: findContours

Hi, we haven't been working on any computer vision functionality right now. We've been focused on the tool set. Note that we have background subtraction now.

Go to advanced search