Search found 269 matches

by iabdalkader
Mon Jun 26, 2017 12:44 am
Forum: General Topics
Topic: OV2640 and simple streaming
Replies: 11
Views: 179

Re: OV2640 and simple streaming

Hi,

The cam can record VGA at 10FPS if you use a fast uSD.
by iabdalkader
Mon Jun 26, 2017 12:38 am
Forum: Technical Discussion
Topic: color_drawing.py and error with img.width()/2
Replies: 4
Views: 28

Re: color_drawing.py and error with img.width()/2

or use double "/"

Code: Select all

img.width()//2
by iabdalkader
Thu Jun 22, 2017 8:17 am
Forum: General Topics
Topic: LED all colors blinking after program stops
Replies: 5
Views: 122

Re: LED all colors blinking after program stops

desireentz wrote:
Wed Jun 21, 2017 8:23 am
I am using the latest firmware version 2.3.0 .
Actually the latest is 2.4.1

https://github.com/openmv/openmv/releases/latest
by iabdalkader
Fri Jun 16, 2017 5:56 pm
Forum: Technical Discussion
Topic: HOG.py example gives RuntimeError: Sensor Timeout!!
Replies: 2
Views: 62

Re: HOG.py example gives RuntimeError: Sensor Timeout!!

I copied the Histogram of Oriented Gradients (HoG) Example (hog.py) code in to the IDE and received a "RuntimeError: Sensor Timeout!!" error. I am able to run different code through the IDE mostly fine (I'm receiving a strange error on the crazy_drawing.py example code where an error is thrown when...
by iabdalkader
Thu Jun 15, 2017 10:01 pm
Forum: Technical Discussion
Topic: open other images for analysis
Replies: 6
Views: 115

Re: open other images for analysis

kwagyeman wrote:
Thu Jun 15, 2017 9:14 pm
BMP support is either 24 bit RGB, 16 bit rgb565, or 8 bit grayscale.
Tried RGB565 with GIMP it didn't work, but maybe I needed to disable color info too.
by iabdalkader
Thu Jun 15, 2017 5:08 pm
Forum: Technical Discussion
Topic: Repeated image saves crashes program
Replies: 9
Views: 136

Re: Repeated image saves crashes program

Yes, there is an 8GB SD card loaded. It saves fine when I run the 'snapshot' example program 15 plus times in a row, but not with my code where it is done in a loop. Please post the full script, what is pin1 and threshold_index. I'm running your script now (but commented some lines, pin1 and thresh...
by iabdalkader
Thu Jun 15, 2017 4:54 pm
Forum: Technical Discussion
Topic: open other images for analysis
Replies: 6
Views: 115

Re: open other images for analysis

Another option that works is GIMP, you need to set these settings:

Screenshot from 2017-06-15 22-51-52.png
Screenshot from 2017-06-15 22-51-52.png (43.67 KiB) Viewed 100 times
by iabdalkader
Thu Jun 15, 2017 4:45 pm
Forum: Project Discussion
Topic: Long distance power & data transmission
Replies: 3
Views: 86

Re: Long distance power & data transmission

Will this take care of transferring power from the computer to the cam as well? No, just CAN high/low and GND you still need to provide power (could hack it to find the 5V) and a transceiver chip or diodes on the cam end. This is similar to your solution, but I think it's more reliable for longer d...
by iabdalkader
Thu Jun 15, 2017 3:42 pm
Forum: Project Discussion
Topic: Long distance power & data transmission
Replies: 3
Views: 86

Re: Long distance power & data transmission

I think CAN easily works over this distance and at 1 Mbit/s. For PC/host side data you could use a USB to CAN like this:

https://www.seeedstudio.com/USB-CAN-Ana ... -2888.html
by iabdalkader
Thu Jun 15, 2017 2:06 pm
Forum: Technical Discussion
Topic: open other images for analysis
Replies: 6
Views: 115

Re: open other images for analysis

See Examples -> 03-Drawing -> copy2fb.py
by iabdalkader
Wed Jun 14, 2017 6:38 pm
Forum: Technical Discussion
Topic: Open saved image for analysis
Replies: 2
Views: 62

Re: Open saved image for analysis

Can you post the full script ? and if possible pic1.bmp and I'll test it.
by iabdalkader
Wed Jun 14, 2017 6:30 pm
Forum: Technical Discussion
Topic: AprilTags 2
Replies: 3
Views: 87

Re: AprilTags 2

newsilver wrote:
Wed Jun 14, 2017 3:35 pm
My intention is to use widely in our products (industrial use).
There are no requests for CAN right now, but If you do that we'll make sure to support and test CAN properly.
by iabdalkader
Wed Jun 14, 2017 2:47 pm
Forum: General Topics
Topic: openmv to arduino with template matching examples
Replies: 17
Views: 254

Re: openmv to arduino with template matching examples

I see you got that working, going to answer your questions anyway: * FB alloc collision means the cam ran out of memory (probably using a big template) * EX search uses twice as much memory as DS, that's why DS works and EX doesn't. * If left and right match, check the threshold, with a very low thr...
by iabdalkader
Sat Jun 10, 2017 3:45 am
Forum: General Topics
Topic: IDE -- missing frame buffer view and histos
Replies: 19
Views: 241

Re: IDE -- missing frame buffer view and histos

Hi,

This issue was fixed in 1.6.0, see:

https://youtu.be/hBsPO2HSkIc?t=48

I'm not sure if it was tested on Mac though, do you see those drawers in the IDE ?
by iabdalkader
Fri Jun 09, 2017 2:29 pm
Forum: General Topics
Topic: how to light the led with white color
Replies: 1
Views: 63

Re: how to light the led with white color

kalarakis wrote:
Fri Jun 09, 2017 2:27 pm
I use the example of tow color traking and I was to on the led with white color
Turn on all three LEDs ? That should give you a white color, but it's not powerful enough for tracking. Maybe try IR + IR LEDs.
by iabdalkader
Fri Jun 09, 2017 2:28 pm
Forum: General Topics
Topic: OV2640 and simple streaming
Replies: 11
Views: 179

Re: OV2640 and simple streaming

SlowBro wrote:
Fri Jun 09, 2017 1:54 pm
Error in my Gmail. Your mail server thinks I'm sending spam. Will send with another address.
You send it with a private message as well.
by iabdalkader
Wed Jun 07, 2017 5:59 pm
Forum: Technical Discussion
Topic: openmv-cascade to be use
Replies: 9
Views: 449

Re: openmv-cascade to be use

Hello,everyone!Forgive me,I am a Chinese who is not good at English.So my statement may be hard to understand. :D I want to use the openmv to identify the car license plate,but I meet the similar issue.I think the haarcascade_licen ce_plate_rus_16stages.xml file format is shorter than required.When...
by iabdalkader
Wed Jun 07, 2017 5:11 pm
Forum: General Topics
Topic: IDE <--> M7 disconnects upon running script
Replies: 13
Views: 227

Re: IDE <--> M7 disconnects upon running script

Kwabena is the IDE expert, he'll get back to you soon, but to save you time, what's your operating system ? And please try a different USB cable.
by iabdalkader
Wed Jun 07, 2017 5:02 pm
Forum: General Topics
Topic: RTC - any way to get a time stamp to the camera?
Replies: 3
Views: 92

Re: RTC - any way to get a time stamp to the camera?

Hi, the RTC will be enabled in the next release (you can build from source if you like, search the forums on how to do that) so you won't need an RTC. Note the RTC is supplied from VDD or VBAT (which is connected to VDD) so as long as you keep the power supply connected, the RTC will keep working ju...
by iabdalkader
Wed Jun 07, 2017 4:34 pm
Forum: Technical Discussion
Topic: Line Profile
Replies: 6
Views: 124

Re: Line Profile

Greg wrote:
Wed Jun 07, 2017 3:08 pm
I'm not looking for lines within an image. I want to find the pixel values along a line I define.
You can use img.get_pixel(x, y)
by iabdalkader
Wed Jun 07, 2017 11:05 am
Forum: Technical Discussion
Topic: find_lines vs cv2.HoughLines ... which is better?
Replies: 16
Views: 264

Re: find_lines vs cv2.HoughLines ... which is better?

slow_one wrote:
Wed Jun 07, 2017 10:58 am
thanks for all of the answers!
is there a list (I'm sure I'm missing its location) of the OpenMV functions/ modules that have been implemented?
See the docs
by iabdalkader
Tue Jun 06, 2017 11:42 pm
Forum: General Topics
Topic: Newbie OpenMV Arduino I2C
Replies: 9
Views: 230

Re: Newbie OpenMV Arduino I2C

Your wiring looks okay, if I'm seeing correctly, are those 10K resistors ? You should use 4.7-10K resistors. Also double check that long yellow wire it looks damaged.
by iabdalkader
Tue Jun 06, 2017 5:54 pm
Forum: Technical Discussion
Topic: find_lines vs cv2.HoughLines ... which is better?
Replies: 16
Views: 264

Re: find_lines vs cv2.HoughLines ... which is better?

It's a different implementation, optimized to run on OpenMV. Note Open-CV libraries are Not available on OpenMV
by iabdalkader
Mon Jun 05, 2017 5:07 pm
Forum: Technical Discussion
Topic: Missing modules when installing on Windows 7
Replies: 16
Views: 310

Re: Missing modules when installing on Windows 7

Well, I'm having trouble getting the IDE running in my Linux environment (which is a whole 'nother question ... ) and am hoping to do it without the IDE if possible. The Linux environment is running on an Odroid (which is ARM based) and has issues with... things. (by the way, I'm doing a search thr...
by iabdalkader
Mon Jun 05, 2017 4:23 pm
Forum: Technical Discussion
Topic: Missing modules when installing on Windows 7
Replies: 16
Views: 310

Re: Missing modules when installing on Windows 7

slow_one wrote:
Mon Jun 05, 2017 3:46 pm
What if I want to run the "new" script on the cam without having to power down/ unplugging the camera and without using the IDE?
In this case you just use the IDE to run your script, see for example this video. Note the script won't be saved on the cam.
by iabdalkader
Mon Jun 05, 2017 12:38 pm
Forum: Project Discussion
Topic: QuadCopter Object Tracking on a budget
Replies: 3
Views: 353

Re: QuadCopter Object Tracking on a budget

This is really great, and the documentation is awesome!

I think you should check out this post. I don't know if you have the time, but if you do please let us know!
by iabdalkader
Sat Jun 03, 2017 5:48 pm
Forum: General Topics
Topic: Help Writing OpenMV Tutorials.
Replies: 0
Views: 141

Help Writing OpenMV Tutorials.

Hey everyone, we're looking for someone to help us write some OpenMV tutorials. This will be paid work $_$ yep. The exact figure depends on the quality of your work, so you should send us a sample first, and if we like it we'll get back to you with an offer you can't refuse you'll like. We need abou...
by iabdalkader
Sat Jun 03, 2017 5:45 pm
Forum: Technical Discussion
Topic: Error with img.binary
Replies: 4
Views: 129

Re: Error with img.binary

zlite wrote:
Sat Jun 03, 2017 5:35 pm
Thanks guys. I ended up going with:
img.binary([thresholds[threshold_index]])
Looks weird, but seems to work!

I think this should work as well:

Code: Select all

thresholds[index:index+1]
by iabdalkader
Fri Jun 02, 2017 5:20 pm
Forum: Technical Discussion
Topic: Missing modules when installing on Windows 7
Replies: 16
Views: 310

Re: Missing modules when installing on Windows 7

I think Kwabena means name the file "main.py" to overwrite the default main.py. Note make sure to safe remove the disk after overwriting the file. Does the IDE call that directly for use with visualization? Is that what you're saying? No, main.py is run by the camera after power up. When the camera...
by iabdalkader
Fri Jun 02, 2017 5:02 pm
Forum: Technical Discussion
Topic: Simple logical operations on images.
Replies: 3
Views: 117

Re: Simple logical operations on images.

The problem is those binary ops are reserved keywords. This issue was supposed to be fixed a while back (maybe by using upper case) but we forgot about it completely, so it will have to wait until the next release. One note on your code, that snapshot function doesn't return a copy of the image, it ...
by iabdalkader
Fri Jun 02, 2017 4:51 pm
Forum: Technical Discussion
Topic: Missing modules when installing on Windows 7
Replies: 16
Views: 310

Re: Missing modules when installing on Windows 7

Thanks for the reply! The Python scripts for OpenMV run on the camera itself not on your PC. That makes sense (and is what I thought when I was reading the documentation)... what I'm confused on is how to do what was described here: ... and call the script main.py and it should run...... Then you j...
by iabdalkader
Fri Jun 02, 2017 4:36 pm
Forum: Technical Discussion
Topic: Missing modules when installing on Windows 7
Replies: 16
Views: 310

Re: Missing modules when installing on Windows 7

E:\>py main.py Traceback (most recent call last): File "main.py", line 2, in <module> import pyb, time ModuleNotFoundError: No module named 'pyb' The Python scripts for OpenMV run on the camera itself not on your PC. The camera has an embedded Python interpreter (called MicroPython) which runs scri...
by iabdalkader
Tue May 30, 2017 7:39 am
Forum: Project Discussion
Topic: Timelapse
Replies: 2
Views: 98

Re: Timelapse

Hi,

Try

Code: Select all

os.listdir('path/to/dir/')[-1]
should give you the last file name, then you can convert it to number and increment.
by iabdalkader
Mon May 29, 2017 10:00 pm
Forum: Technical Discussion
Topic: Can't see OpenMV on Ubuntu despite doing adduser dialout
Replies: 4
Views: 126

Re: Can't see OpenMV on Ubuntu despite doing adduser dialout

If there's more than one serial port, the IDE will ask you to choose. Did you log out after adding the user to group dialout ? if so, you could try this udev file , just copy it to /etc/udev/rules.d/ and make it executable sudo chmod +x /etc/udev/rules.d/50-openmv.rules then reboot or reload udev ru...
by iabdalkader
Mon May 29, 2017 3:21 pm
Forum: Technical Discussion
Topic: OpenMV Cam M7micro very hot
Replies: 17
Views: 365

Re: OpenMV Cam M7micro very hot

Here's an F7 Discovery Board (Note it's not running OMV firmware, just a loop in MicroPython).

flir_20170529T210757.jpg
flir_20170529T210757.jpg (306.47 KiB) Viewed 349 times


This is my OpenMV camera running AprilTags:

flir_20170529T211219.jpg
flir_20170529T211219.jpg (193.34 KiB) Viewed 349 times
by iabdalkader
Thu May 25, 2017 10:18 am
Forum: Technical Discussion
Topic: Line detection
Replies: 5
Views: 182

Re: Line detection

I am kind of new to python but I was hoping at least the examples would be working so I can start there. The examples that ship with the IDE (built-in Examples menu) should be compatible with the latest release firmware, unless we missed something. The examples on github are updated for the new unr...
by iabdalkader
Tue May 23, 2017 2:21 pm
Forum: Technical Discussion
Topic: Connecting IDE via Wifi?
Replies: 10
Views: 696

Re: Connecting IDE via Wifi?

Hi, so I found one bug in recvfrom, it should work now. I'm attaching a debugging FW image and the client and server scripts used for testing. Please let me know if you find any other issues.
by iabdalkader
Sun May 21, 2017 4:18 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

Okay I finally got it working! It turns out you can enable EXTI and AF at the same time. The two VSYNCs now: sync1.png There's about 80us delay between FSIN and VSYNC changing on the second cam, I don't think this can be reduced (I've seen the same delay even when connecting VSYNC to FSIN directly)...
by iabdalkader
Sun May 21, 2017 1:48 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

So I figured out the exact problem, see the following figure..I get an interrupt on the rising edge of VSYNC at this point I set the IO high (with 200ns delay==perfect) problem is I don't get another interrupt on the falling edge (this is when valid data start), so as a workaround I used the HREF/LI...
by iabdalkader
Sun May 21, 2017 8:19 am
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

kwagyeman wrote:
Sat May 20, 2017 6:49 pm
Just use a standard pin interrupt.
I tried that as well, it works but changing VSYNC function disables the DCMI.
by iabdalkader
Sat May 20, 2017 6:30 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

Okay I fixed the issue with the inverted clock, and I also figured out why there's a 500us delay, it's actually the end of frame interrupt that's delayed for some reason (Note this is generated by the DCMI not the sensor). Still not able to reduce that delay or detect VSYNC falling edge. Will keep t...
by iabdalkader
Sat May 20, 2017 3:09 am
Forum: Technical Discussion
Topic: USB not working
Replies: 3
Views: 104

Re: USB not working

It sounds like the connector might be damaged from the bad cable.
Note If the flash FS is corrupted it should be recreated when the cam boots.
by iabdalkader
Thu May 18, 2017 8:14 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

kwagyeman wrote:
Thu May 18, 2017 6:30 pm
Having a non vsync master source should solve the problem right?
I'm not sure if it's a problem or just different FSIN behavior.
I think the external clock has to match the timing for VSYNC (for each frame size) but it should work.
by iabdalkader
Thu May 18, 2017 5:55 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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. Why not ? I think it's okay to drive FSIN from VSYNC in master/slave setup, see this report using OV7221 (very similar to OV7725 but maybe FSIN behavior i...
by iabdalkader
Thu May 18, 2017 4:24 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

So I did some testing, I connected VSYNC directly to FSIN and it seems to work (with 200ns latency) except the second cam's VSYNC is inverted (when VSYNC1 is high VSYNC2 is low). I'm not sure why and I'm not sure if they're capturing the same frame or 2 frames back to back. Anyway, so I tried to gen...
by iabdalkader
Wed May 17, 2017 2:04 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

It's going to be hard to solder a wire to VSYNC because it's routed directly on the top layer (No vias) so you'll have to scratch the wire's solder mask and solder a wire there, or solder a very thin wire to the MCU pin. is there a problem if i permanently send trigger signal to FSIN PIN (from power...
by iabdalkader
Tue May 16, 2017 4:09 pm
Forum: Technical Discussion
Topic: Acces to VSYNC pin for two OPenMV M7 in stereoscopic mode
Replies: 14
Views: 384

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

VSYNC is connected to the MCU it's not broken out. It's possible to toggle an I/O when VSYNC interrupt occurs, but that will have to be implemented in C code. I'll try to enable that with an option in the next release.
by iabdalkader
Tue May 16, 2017 7:49 am
Forum: Technical Discussion
Topic: QRcode draw_rectangle Crush
Replies: 4
Views: 177

Re: QRcode draw_rectangle Crush

Hi, use QQVGA2 resolution for the LCD:

Code: Select all

sensor.set_framesize(sensor.QQVGA2) # Special 128x160 framesize for LCD Shield.
by iabdalkader
Mon May 15, 2017 5:13 pm
Forum: General Topics
Topic: Higher FPS
Replies: 3
Views: 244

Higher FPS

Hi, I've been working on the sensor code lately, and it seems the sensor actually supports a much higher FPS, without going into too many details, the higher FPS enables the cam to capture frames when needed and run faster (unless it's running an slow algorithm). So, I'm attaching a firmware image i...
by iabdalkader
Mon May 15, 2017 9:15 am
Forum: Technical Discussion
Topic: Brick and smoke M7
Replies: 8
Views: 243

Re: Brick and smoke M7

The camera is rated for 5V max. I wouldn't connect it again to PC or use that SD again. EDIT: Also 3.3v is output Not input. I found it a bit odd because when I use 9V at Arduino usually nothing happens. That's why the test. I am surprised that the SD card is always smoke. Each board has different ...

Go to advanced search