Search found 2448 matches

by kwagyeman
Sun Sep 18, 2016 10:50 pm
Forum: Technical Discussion
Topic: Firmware update
Replies: 33
Views: 8342

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.
by kwagyeman
Mon Aug 29, 2016 1:33 pm
Forum: General Topics
Topic: Distributor in Europe?
Replies: 5
Views: 2541

Re: Distributor in Europe?

We shipped 50 cams to Lextronic so they will have modules soon. They will probably redistribute the cam all over Europe.
by kwagyeman
Sat Aug 27, 2016 11:32 pm
Forum: Project Discussion
Topic: Line Following - Blob Spotting/Decoding robot
Replies: 42
Views: 12141

Re: Line Following - Blob Spotting/Decoding robot

Good work so far. 2) Depends on the lighting in the area. But, yest, primary colors are the best. 3) Yes, that's a good kind of check. Of course, you'll have to figure out how to deal with no blobs being there... anyway, at this point your application dependent. Basically you have to test whatever y...
by kwagyeman
Fri Aug 26, 2016 4:56 pm
Forum: Technical Discussion
Topic: py_sensor.c code question
Replies: 1
Views: 979

Re: py_sensor.c code question

Args[0] isn't the name of the routine. It's the first argument.

Look at the code that calls these things. It's buried somewhere in the MP py dir. The calling code uses slightly different call patterns given the situation.
by kwagyeman
Fri Aug 26, 2016 11:36 am
Forum: Technical Discussion
Topic: Hw reset and/or reboot?
Replies: 12
Views: 5107

Re: Hw reset and/or reboot?

Yes, just ground the RST pin. The BOOT pin controls if the default STM DFU bootloader turns on. The STM bootloader allows you to get out of being bricked if the flash gets completely corrupted.
by kwagyeman
Fri Aug 26, 2016 11:14 am
Forum: General Topics
Topic: Presence detection
Replies: 13
Views: 6296

Re: Presence detection

If the objects are in fixed positions you can then just use frame differencing with image masking. So, basically, you'd just difference the current image against a background image and then you'd apply a mask to zero out all the areas of the image you're not interested in. You can have a background/...
by kwagyeman
Wed Aug 24, 2016 6:50 pm
Forum: General Topics
Topic: Presence detection
Replies: 13
Views: 6296

Re: Presence detection

No that's fine. I'm just saying the thread owner will not respond. Anyway, please expand on your last paragraph. What do you mean?
by kwagyeman
Wed Aug 24, 2016 3:47 pm
Forum: Project Discussion
Topic: Mount SD Card
Replies: 3
Views: 1705

Re: Mount SD Card

Yeah, you have to use another card then. 64 GB cards are sdxc only. Pretty sure no MCUs will support that right now. We support and and sdhc which are less than 32gb in size. Mmm, now that's a problem. MCUs don't support sdxc. Not sure what to do about that. It's a hardware limitation too. Then stm3...
by kwagyeman
Wed Aug 24, 2016 2:20 pm
Forum: Project Discussion
Topic: Mount SD Card
Replies: 3
Views: 1705

Re: Mount SD Card

Can you try to format the SD card as a fat 32 volume? The firmware is not really robust just yet so it likely crashes when something is wrong.
by kwagyeman
Tue Aug 23, 2016 9:35 am
Forum: Technical Discussion
Topic: Catching the IDE "stop" in uPython
Replies: 2
Views: 1182

Re: Catching the IDE "stop" in uPython

It resets the scripts outside of uPython control. Anyway, we are about to do a release. Maybe Ibrahim can add something you need. Can you describe it?
by kwagyeman
Tue Aug 23, 2016 9:33 am
Forum: General Topics
Topic: Presence detection
Replies: 13
Views: 6296

Re: Presence detection

This was an old post. :)

Go to advanced search