Search found 615 matches

by kwagyeman
Thu May 25, 2017 10:13 am
Forum: Technical Discussion
Topic: Industrial 24VDC shield and wired ethernet
Replies: 1
Views: 8

Re: Industrial 24VDC shield and wired ethernet

Since the OpenMV camera is 5v tolerant you should be able to use any shield made for the Arduino that you can just send serial data over.
by kwagyeman
Thu May 25, 2017 10:10 am
Forum: Project Discussion
Topic: Brightness tool
Replies: 1
Views: 7

Re: Brightness tool

Please see the get statistics method in the image module under documentation. This method returns the mean, median, mode, stdev, lower quartile, upper quartile, min, and max of all the color channels in a specific ROI of the image. If you set the camera to grayscale mode then this should run at 85 F...
by kwagyeman
Thu May 25, 2017 12:20 am
Forum: General Topics
Topic: Higher FPS
Replies: 3
Views: 96

Re: Higher FPS

Can you try a single color tracking script? The multi-blob one goes over the image 3 times for each color. I tested with the single color script and got 56 FPS or so.
by kwagyeman
Thu May 25, 2017 12:16 am
Forum: Technical Discussion
Topic: New M7 not detected over USB
Replies: 3
Views: 14

Re: New M7 not detected over USB

K, send us a email with the info above. You might be able to fix the camera by applying a heat gun to the USB connector for a few seconds.
by kwagyeman
Wed May 24, 2017 11:05 pm
Forum: Technical Discussion
Topic: New M7 not detected over USB
Replies: 3
Views: 14

Re: New M7 not detected over USB

Mmm, okay, try to put it in DFU mode. If that doesn't work there's an issue with the USB connector... (This is second time we've gotten a customer saying the USB connector is bad - for the next OpenMV Cam production run i will require each cam to be plugged into a PC before it passes Q.C. versus it ...
by kwagyeman
Wed May 24, 2017 4:06 pm
Forum: Technical Discussion
Topic: Line detection
Replies: 4
Views: 17

Re: Line detection

Keypoints should be working...

Sorry, we're updating a lot of functions in the API and some things get broken. Please let us know.

That said, a lot of the example scripts should be operational. In particular the color tracking scripts.
by kwagyeman
Wed May 24, 2017 1:38 pm
Forum: Technical Discussion
Topic: Line detection
Replies: 4
Views: 17

Re: Line detection

Hi, that's the old fine lines function. The new one will be released hopefully this week. I've been out of commission since I just moved to the Bay Area. But, my stuff finally arrived today so I should be able to finish up the next IDE and software release this week. ... Um, so, there are a lot of u...
by kwagyeman
Tue May 23, 2017 10:30 am
Forum: Project Discussion
Topic: Line Following - Blob Spotting/Decoding robot
Replies: 42
Views: 2012

Re: Line Following - Blob Spotting/Decoding robot

Yeah, but, I just moved to SF Bay area and my stuff isn't here so I can't work right now.
by kwagyeman
Tue May 23, 2017 1:26 am
Forum: Project Discussion
Topic: Real Time Streaming and Speed
Replies: 5
Views: 85

Re: Real Time Streaming and Speed

>> I'm going through the tutorials, and they don't seem to be made for more, um, newbie kind of folks with sample code, etc. You're an early adopter! :) More tutorial pages will be done given my free time. Feature expansion has been the priority currently. from pyb import UART uart.init(9600, bits=8...
by kwagyeman
Tue May 23, 2017 12:22 am
Forum: Project Discussion
Topic: Line Following - Blob Spotting/Decoding robot
Replies: 42
Views: 2012

Re: Line Following - Blob Spotting/Decoding robot

The find markers method doesn't exist anymore. See the find blobs method new API.
by kwagyeman
Mon May 22, 2017 1:56 pm
Forum: General Topics
Topic: How to restore the histogram window
Replies: 4
Views: 26

Re: How to restore the histogram window

You are the second person to run into this. With... ALOT of effort I can make the IDE display a drawer when the area is closed. I will try to do this.
by kwagyeman
Mon May 22, 2017 11:02 am
Forum: General Topics
Topic: How to restore the histogram window
Replies: 4
Views: 26

Re: How to restore the histogram window

Hover your mouse over the right side of the IDE. It should change to indicate something you can grab. Then click and dragging the slider grip to unhind the window area.

In general, just move your mouse over the IDE until you see the mouse change to indicate there's something to grab.
by kwagyeman
Sun May 21, 2017 7:04 pm
Forum: Project Discussion
Topic: Line Following - Blob Spotting/Decoding robot
Replies: 42
Views: 2012

Re: Line Following - Blob Spotting/Decoding robot

The find blobs API was updated a while back. That code needs to be tweaked for the new Find blobs method. Only minor changes are necessary to the script.

See the line following example code. That was updated with how the new find blobs script accepts arguments.
by kwagyeman
Sat May 20, 2017 10:04 am
Forum: Technical Discussion
Topic: USB not working
Replies: 3
Views: 18

Re: USB not working

The V2's connector comes off to easily. Um, we have a few emergency M7 cameras in stock. I can offer a half priced one for you as a replacement.
by kwagyeman
Sat May 20, 2017 10:01 am
Forum: General Topics
Topic: OpenMV IDE always crashing
Replies: 2
Views: 36

Re: OpenMV IDE always crashing

Hi, this is a bug we've noticed when inputting keyword arguments. It should have been fixed with v 1.5.1 but still survived somehow. It will be fixed... again... With the next IDE release. Until then, I can tell you how disable keyword arguments highlighting. Go to the IDE install dir, share/QtCreat...
by kwagyeman
Thu May 18, 2017 6:30 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 85

Re: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode

Having a non vsync master source should solve the problem right?
by kwagyeman
Thu May 18, 2017 4:46 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 85

Re: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode

Both cameras should be a slave to one clock source. Neither should be a master.

The clock source can come from with cam via PWM. But, not VSYNC.
by kwagyeman
Wed May 17, 2017 12:29 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 85

Re: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode

I'd do solution 2. Um, look at the camera datasheet for how long to make the pulse. The data sheet has the vsync waveform.
by kwagyeman
Tue May 16, 2017 9:11 pm
Forum: Project Discussion
Topic: Real Time Streaming and Speed
Replies: 5
Views: 85

Re: Real Time Streaming and Speed

Hi, The M7 with the current firmware should be able to run motion detection using frame differencing in Grayscale at 30 FPS at 320x240. I don't know what the speed is for 640x480. Unless you have a specific requirement to be able to detect differences of 4 pixels or so doing anything at 640x480 offe...
by kwagyeman
Tue May 16, 2017 10:11 am
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

Find lines just cares about edges, not color. If you want to add color preferences then you should binary() the image by what color you are looking for. This will also have the affect of GREATLY increasing the edge magnitude for a line. Note that since your running find lines on the ouput of binary ...
by kwagyeman
Tue May 16, 2017 8:56 am
Forum: Technical Discussion
Topic: QRcode draw_rectangle Crush
Replies: 3
Views: 47

Re: QRcode draw_rectangle Crush

I noticed a crash with the code that wasn't there when I first got this working. Um, I'll fix this in the next firmware release which will be out in about 2 weeks.

This code was solid previously so it must be do to me porting in upstream quirc changes.
by kwagyeman
Mon May 15, 2017 10:49 pm
Forum: Project Discussion
Topic: Obstacle Detection and Avoidance
Replies: 24
Views: 342

Re: Obstacle Detection and Avoidance

Um, please read up on the edge detection code. Use canny edge detection which does the proper thing. The fast basic one detects the edge of the frame as an edge because the convolution uses zeros for pixels off the edge of the image.
by kwagyeman
Mon May 15, 2017 8:01 pm
Forum: Project Discussion
Topic: Obstacle Detection and Avoidance
Replies: 24
Views: 342

Re: Obstacle Detection and Avoidance

Lens specs are on the website on the lens product pages. As for UDP, that's Ibrahim's domain. He needs to be bugged about it. I'll let him know it's something to be fixed net at a higher priority.
by kwagyeman
Mon May 15, 2017 7:23 pm
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

Find lines is a lot faster than find line segments.
by kwagyeman
Mon May 15, 2017 7:22 pm
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

Threshold is the parameter you need to change. In particular, you have to lower its value if nothing is detected. The threshold value is a limit check on the sum of sobel filter magnitude responses for each pixel on a line. If the edge isn't very strong then you need a lower threshold. Note that the...
by kwagyeman
Mon May 15, 2017 7:14 pm
Forum: Project Discussion
Topic: Obstacle Detection and Avoidance
Replies: 24
Views: 342

Re: Obstacle Detection and Avoidance

It's not a bug. When printing via the USB debug feature built-in to the IDE a maximum number of bytes can be printed per time unit. The IDE services the print buffer every 20 Ms or so. Print less data not as quickly and you'll be able to see it all. Um, for large debug data sets you may wish to prin...
by kwagyeman
Mon May 15, 2017 9:29 am
Forum: Technical Discussion
Topic: Brick and smoke M7
Replies: 8
Views: 87

Re: Brick and smoke M7

Yes, 9v on the 3.3v pin would destroy all the on board electronics. If you want to use a battery apply the voltage on the VIN pin. But, make sure the max VIN voltage is no more than about 5v.
by kwagyeman
Mon May 15, 2017 8:37 am
Forum: Technical Discussion
Topic: Brick and smoke M7
Replies: 8
Views: 87

Re: Brick and smoke M7

Where did you connect the battery (which pins) and how much voltage was the battery?
by kwagyeman
Sun May 14, 2017 3:13 pm
Forum: Technical Discussion
Topic: Connecting IDE via Wifi?
Replies: 10
Views: 480

Re: Connecting IDE via Wifi?

Ibrahim will have to tackle this. Please make this a bug on the OpenMV github.
by kwagyeman
Fri May 12, 2017 11:17 am
Forum: General Topics
Topic: cant connect to openmv M7
Replies: 5
Views: 92

Re: cant connect to openmv M7

Weird...

Well, you can keep it then. We'll just get you another camera.

The chance of the next one being bad should be near 0.
by kwagyeman
Fri May 12, 2017 10:43 am
Forum: General Topics
Topic: cant connect to openmv M7
Replies: 5
Views: 92

Re: cant connect to openmv M7

Mmm... okay. Can you post an image with a close up of the USB connector? I'd just like to see it. But, there's not really anything that can be done if that connection doesn't work.

Also, send an email to us with your order receipt and I'll send you a new unit.
by kwagyeman
Fri May 12, 2017 9:22 am
Forum: General Topics
Topic: line follower using OpenMV
Replies: 9
Views: 201

Re: line follower using OpenMV

Yeah, that's the M7 - 52 FPS at 160x120 RGB. Note the frame buffer is disabled to get the FPS up that high. Otherwise the system has to JPEG compress images and stream them to the IDE.
by kwagyeman
Fri May 12, 2017 9:21 am
Forum: General Topics
Topic: cant connect to openmv M7
Replies: 5
Views: 92

Re: cant connect to openmv M7

Sounds like the camera has power and is running fine. Um, can you make sure your USB cable actually has a USB data connection? We've noticed folks who try to connect the device to their computer with a USB cable and the system doesn't work because the USB cable doesn't provide the D+/D- lines, just ...
by kwagyeman
Thu May 11, 2017 4:25 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 999

Re: I2C from machine vs I2C from pyb

Code: Select all

for i in range(48): # i = 0 ... 47
    if (i < first_spad_to_enable) or (spads_enabled == spad_count):
        ref_spad_map[i / 8] &= ~(1 << (i % 8))
    elif ((ref_spad_map[i / 8] >> (i % 8)) & 0x1):
        spads_enabled += 1
?
by kwagyeman
Thu May 11, 2017 9:33 am
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 999

Re: I2C from machine vs I2C from pyb

Yeah, there's some script complexity limit with MP but I'm not quite sure on the details. Ibrahim would know more.
by kwagyeman
Wed May 10, 2017 9:54 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 999

Re: I2C from machine vs I2C from pyb

There's really too much code in that file... maybe, roll some simple I2C accesses by hand to check what's working first?

Sorry, I can't really help you as I don't have that sensor.
by kwagyeman
Wed May 10, 2017 9:50 pm
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

Okay, here it is (attached). Try playing with the settings to get the best FPS. Grayscale goes really fast. Also, disable the frame buffer (top right hand corner of the IDE) to see the speed on the go. You should be able to hit 30 FPS in grayscale. Demo scripts are attached in there too. Note that t...
by kwagyeman
Wed May 10, 2017 7:07 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 999

Re: I2C from machine vs I2C from pyb

Um, is the I2C not working? I use a bus probe to verify stuff like this.

I know the pyb.I2C class works. There are a few examples with the IDE.
by kwagyeman
Wed May 10, 2017 3:34 pm
Forum: General Topics
Topic: Importing a custom class
Replies: 2
Views: 55

Re: Importing a custom class

http://wiki.micropython.org/Importing-Modules

Since the internal flash is disabled when the SD card is attached you need to have two copies of the script for each situation.
by kwagyeman
Wed May 10, 2017 3:10 pm
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

Working on the code right now. I've finished find_lines up. Now working on find line segments. You want to use the first one. I can post that by the end of the day. A firmware image and example script that is.
by kwagyeman
Wed May 10, 2017 12:11 pm
Forum: Technical Discussion
Topic: I2C from machine vs I2C from pyb
Replies: 33
Views: 999

Re: I2C from machine vs I2C from pyb

Ibrahim will know...
by kwagyeman
Wed May 10, 2017 10:53 am
Forum: General Topics
Topic: line follower using OpenMV
Replies: 9
Views: 201

Re: line follower using OpenMV

Oh, if you just need to find the center of a black line on the image then you can just use find_blobs. I though you were doing something more complex. http://docs.openmv.io/library/omv.image.html#image.image.find_blobs http://docs.openmv.io/library/omv.image.html#class-blob-blob-object Just call it ...
by kwagyeman
Wed May 10, 2017 9:47 am
Forum: General Topics
Topic: line follower using OpenMV
Replies: 9
Views: 201

Re: line follower using OpenMV

We work on the image directly from the camera. There is no FIFO. However, our system is optimized for ease of use... so, we don't buffer up frames coming from the camera. We capture one at a time and work on it out of a stream of frames. Thus, if you work on a frame longer than some short time you t...
by kwagyeman
Tue May 09, 2017 1:01 am
Forum: Technical Discussion
Topic: Using machine.I2C
Replies: 6
Views: 135

Re: Using machine.I2C

Machine is like software bit banging which pyb uses the MCU hardware.

Since MP is single threaded machine is actually easier to use since the hardware does weird stuff on error conditions and you have to carefully wrap the code in try/catch statements.
by kwagyeman
Mon May 08, 2017 12:09 am
Forum: General Topics
Topic: JeVois -- a potential competitor?
Replies: 11
Views: 674

Re: JeVois -- a potential competitor?

Um, yeah, I should be done soonish. Basic hough lines are done - see here: http://forums.openmv.io/viewtopic.php?f=3&t=279#p1706 Working on segments now. For the race you shouldn't need segments. Note I noticed an error in the code above that will make ROI fail to work. It's been fixed on the new ve...
by kwagyeman
Sun May 07, 2017 10:11 pm
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

Got it working. I made it walk 5 lines right next to each other for each hough line detected. The number of segments is high however (in the picture below most segments are only 10 px long). Once I get the detection perfect I'll figure out some merging algorithm to connect all these line segments th...
by kwagyeman
Sun May 07, 2017 9:19 pm
Forum: General Topics
Topic: JeVois -- a potential competitor?
Replies: 11
Views: 674

Re: JeVois -- a potential competitor?

I think JeVois does higher res for some stuff and a higher FPS. Also, I think it has meagbytes of ram. Not Kb. Nice review however! :) ... Oh, in other news, I'm almost done with your fast line following request. 30 FPS RGB565 line detection at 160x120 is a reality. The lines are a bit jumpy given t...
by kwagyeman
Sun May 07, 2017 9:16 pm
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

If you edit the firmware for the hough lines you could... increase the resolution to solve this problem. But, this would prevent operation beyond 160x120. I allow 320x240 resolution so I don't do this. But, if you edit the C code you could get to half angle resolution with 160x120. You can change 1 ...
by kwagyeman
Sun May 07, 2017 5:58 pm
Forum: General Topics
Topic: lines.py not working as expected
Replies: 33
Views: 431

Re: lines.py not working as expected

Hey, so, I got this kinda working. You can find line segments. However, there's an issue. Due to a lack of memory onboard the system the hough accumulator space doesn't have enough resolution to "lock" lines on all edges of objects perfectly. For infinite hough lines the system will draw the line wi...

Go to advanced search