Search found 443 matches

by iabdalkader
Mon May 21, 2018 9:13 pm
Forum: General Topics
Topic: OpenMV IDE 1.9.0 "stopping" issue
Replies: 15
Views: 118

Re: OpenMV IDE 1.9.0 "stopping" issue

By fatal error do you mean the camera restarts or gets stuck in a loop ? The issue I was seeing is random stop/exec cause the camera to hardfault and restart.
by iabdalkader
Mon May 21, 2018 5:07 pm
Forum: General Topics
Topic: OpenMV IDE 1.9.0 "stopping" issue
Replies: 15
Views: 118

Re: OpenMV IDE 1.9.0 "stopping" issue

Hi,

Can you test the attached firmware ? It should fix the stop issue.

Note: Yes I think I changed the LEDs reset recently (it's okay).
by iabdalkader
Thu May 17, 2018 5:54 pm
Forum: General Topics
Topic: Problem related to image.match_descriptor
Replies: 4
Views: 56

Re: Problem related to image.match_descriptor

Hi, kptmatch.count() returns the number of matching keypoints pairs. while kptmatch.match() returns a list of tuples of matching keypoints indices. So they should be the same length, if count() returns 5 (5 pairs match), match() should return a list of 5 tuples [(0, 1), (1, 2), etc...] This features...
by iabdalkader
Thu May 17, 2018 5:11 pm
Forum: General Topics
Topic: OpenMV IDE 1.9.0 says Firmware 2.8.0 out of date
Replies: 5
Views: 59

Re: OpenMV IDE 1.9.0 says Firmware 2.8.0 out of date

So are you saying that those of us that supported the OpenMV movement by buying the original OpenMV M4 are going to be simply cast aside and ignored? No, while we really appreciate your help getting this project off the ground, there's really nothing we can do here. It's Not laziness on our side, b...
by iabdalkader
Tue May 15, 2018 5:58 pm
Forum: General Topics
Topic: OpenMV IDE 1.9.0 says Firmware 2.8.0 out of date
Replies: 5
Views: 59

Re: OpenMV IDE 1.9.0 says Firmware 2.8.0 out of date

Actually we're going to stop releasing new firmware for the M4 because none of the new features work on it. The last firmware image for M4 is 2.8.0. I'd recommend getting an M7.
by iabdalkader
Tue May 15, 2018 12:58 pm
Forum: Technical Discussion
Topic: only one device connected to the AP(wifi shield)
Replies: 3
Views: 56

Re: only one device connected to the AP(wifi shield)

The AP mode only supports 1 client at a time. It's a WINC limitation.
by iabdalkader
Mon May 14, 2018 8:54 pm
Forum: Technical Discussion
Topic: WiFi Shield Socket - No Bytes Read
Replies: 3
Views: 56

Re: WiFi Shield Socket - No Bytes Read

Hi, there was a bug in the recently updated sockets layer. I'm attaching a patched fw image if you want to use it now.
Note re that example script, the buffer size passed to recv should be large enough to hold the received data (otherwise it gets overwritten).
by iabdalkader
Sun May 06, 2018 5:15 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 37
Views: 579

Re: saving video on SD card

Hi again, I found two more bugs in SD and fixed them. This image should be good.

Attached.
by iabdalkader
Sat May 05, 2018 3:50 pm
Forum: Technical Discussion
Topic: Trouble with PIN 8
Replies: 4
Views: 82

Re: Trouble with PIN 8

Hi, maybe pin 8 and 9 are shorted, can you test with a meter ? Also please post your code.
by iabdalkader
Sat May 05, 2018 3:34 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 37
Views: 579

Re: saving video on SD card

Hi, I'm attaching a new image, can you give it a try and let me know if it fixes the issue ? Note I changed the fw version to 2.9.1 to avoid any confusion. Also I'd format the SD first.
by iabdalkader
Fri May 04, 2018 8:35 pm
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 37
Views: 579

Re: saving video on SD card

I'm pretty sure this fixes it, hmm can you try uploading the fw again ? Note browse for the patched firmware don't copy it to the IDE's directories.
by iabdalkader
Fri May 04, 2018 11:08 am
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 37
Views: 579

Re: saving video on SD card

@iScienceLuvr

Hi, can you please test the attached firmware ?
by iabdalkader
Tue May 01, 2018 6:38 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

@aqeelyaacob Please post a new topic for that with as much details as possible.
by iabdalkader
Thu Apr 26, 2018 10:44 pm
Forum: General Topics
Topic: Convert from RGB565 to RGB888
Replies: 4
Views: 339

Re: Convert from RGB565 to RGB888

Ezzobeir wrote: Could you just explain to me how to set the RAW mode ? Sorry I just started with OpenMV, I haven't got used to it yet.
Use this:

Code: Select all

sensor.set_pixformat(sensor.BAYER)
by iabdalkader
Sat Apr 21, 2018 8:13 pm
Forum: Technical Discussion
Topic: strange behavior with set_windowing
Replies: 10
Views: 380

Re: strange behavior with set_windowing

Does this mean the windowing should be in multiples of 8px? Yes for now. @Kwabena I will just make the sensor driver do a virtual window without whatever the HAL is doing. I was also thinking of just adding a window to the sensor struct, we would have make sure it doesn't break something else, so m...
by iabdalkader
Sat Apr 21, 2018 2:10 pm
Forum: Technical Discussion
Topic: strange behavior with set_windowing
Replies: 10
Views: 380

Re: strange behavior with set_windowing

Hi, the image width*2 should be a multiple of 16 bytes to work with the current DMA transfer size configuration (burst of 4 * 4 bytes). Which also means the minimum width is 8 (8*2 == 16 bytes). We should probably check for these limitations. There's a way to fix this, make the DMA transfer size sma...
by iabdalkader
Sun Apr 15, 2018 9:22 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

aqeelyaacob wrote:
Tue Apr 10, 2018 9:01 pm
it all done,thanks to you.But the detection still low rate,does i need to add more positive image during making a cascade?.here i attach the video and also coding
I'm not sure, maybe try a lower scaling factor (1.15).
by iabdalkader
Wed Apr 11, 2018 12:04 pm
Forum: Technical Discussion
Topic: NEOPIXEL AS A LED RING LIGHT
Replies: 3
Views: 212

Re: NEOPIXEL AS A LED RING LIGHT

It should work, if it doesn't let us know and we'll fix it.
by iabdalkader
Wed Apr 11, 2018 12:02 pm
Forum: Technical Discussion
Topic: draw_rectangle color mistake
Replies: 3
Views: 293

Re: draw_rectangle color mistake

Hi, it's not a bug, it's just the heavy JPEG compression. Try this:

Code: Select all

img.draw_rectangle((50,50,100,100),color=(255,0,0), thickness=2)
by iabdalkader
Wed Apr 11, 2018 11:24 am
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

hai,i got a problem here,when i try to convert the xml file using converter as here : https://github.com/openmv/openmv/blob/master/usr/openmv-cascade.py i got an error. So here i attach the xml file.Seem i stuck to convert to cascade file.After that,does the cascade embedded directly to camera or i...
by iabdalkader
Fri Apr 06, 2018 4:24 pm
Forum: Technical Discussion
Topic: I2C troubles
Replies: 10
Views: 939

Re: I2C troubles

gcgrant wrote:
Mon Mar 26, 2018 5:23 am
Note that I have this working now, and will upload the code once the competition and university assignment are completed, so that others wanting to integrate this Lidar with the OpenMV may do so.
Hi, can you share this script ? we're going to add it to the built-in examples.
by iabdalkader
Tue Mar 27, 2018 10:06 am
Forum: Technical Discussion
Topic: keypoint list?
Replies: 8
Views: 677

Re: keypoint list?

I think it's because of the low memory performance of the camera Yes the camera has limited amount of memory. Try to lower the number of keypoints (increase the thresholds). Can we use external memory as executable(ram) memory? It's possible but the camera doesn't have an external ram on board.
by iabdalkader
Fri Mar 23, 2018 12:08 pm
Forum: Technical Discussion
Topic: Cannot use openmv-cascade.py script for haarcascade of depth > 1
Replies: 4
Views: 357

Re: Cannot use openmv-cascade.py script for haarcascade of depth > 1

calvinmryan wrote:
Fri Mar 23, 2018 12:01 pm
So just to be clear - the haar cascade openmv class only operates with a haar cascade of tree depth 1?
Yes, and originally it only supported the old format, then someone contributed support for the new format with depth 1.
by iabdalkader
Fri Mar 23, 2018 11:39 am
Forum: Technical Discussion
Topic: Cannot use openmv-cascade.py script for haarcascade of depth > 1
Replies: 4
Views: 357

Re: Cannot use openmv-cascade.py script for haarcascade of depth > 1

However, it seems that the provided script to convert .xml haar cascades into .cascade files for the openmv cam doesn't handle trees deeper than 1
Hi, no the script doesn't handle that, and I'm not sure how those extra features should be handled in code.
by iabdalkader
Mon Mar 19, 2018 8:27 pm
Forum: General Topics
Topic: Mapping
Replies: 2
Views: 272

Re: Mapping

There's no one function to do that (yet) but maybe you can use keypoints and/or phase correlation.
by iabdalkader
Mon Mar 19, 2018 8:10 pm
Forum: General Topics
Topic: Configuring find_template function
Replies: 7
Views: 461

Re: Configuring find_template function

Hi, can you attach an image of the surface with and without the droplet ?
by iabdalkader
Wed Mar 07, 2018 8:45 pm
Forum: General Topics
Topic: Global Shutter
Replies: 7
Views: 6659

Re: Global Shutter

We don't really have official tutorials, but if you search the forums you'll find many posts about color tracking, wifi etc.. and the IDE comes with examples too that you should use as a starting point.
by iabdalkader
Wed Mar 07, 2018 7:44 pm
Forum: General Topics
Topic: Global Shutter
Replies: 7
Views: 6659

Re: Global Shutter

Hi, our new camera will have an optional global shutter sensor module, in addition to the new H7 (400MHz) MCU upgrade. The new camera will be released this year (hopefully).
by iabdalkader
Wed Mar 07, 2018 6:50 pm
Forum: Technical Discussion
Topic: Updating firmware for OpenMV Cam 2
Replies: 12
Views: 11023

Re: Updating firmware for OpenMV Cam 2

nedhorning wrote:
Wed Mar 07, 2018 2:36 pm
I did try again but I got the same result. I also rebooted the computer but that didn't help either.
By same result you mean libusb error ? Can you please try

Code: Select all

sudo pip2 install pyusb

Note pip2.
by iabdalkader
Wed Mar 07, 2018 12:16 pm
Forum: Technical Discussion
Topic: Updating firmware for OpenMV Cam 2
Replies: 12
Views: 11023

Re: Updating firmware for OpenMV Cam 2

No it takes seconds to enumerate you should click ok just after you see the cam in DFU mode with lsusb.
by iabdalkader
Wed Mar 07, 2018 9:21 am
Forum: Technical Discussion
Topic: Updating firmware for OpenMV Cam 2
Replies: 12
Views: 11023

Re: Updating firmware for OpenMV Cam 2

Yes it's normal, you should see something like this if you run lsusb

Code: Select all

Bus 001 Device 006: ID 0483:df11 STMicroelectronics STM Device in DFU Mode
by iabdalkader
Tue Mar 06, 2018 8:08 pm
Forum: Technical Discussion
Topic: Updating firmware for OpenMV Cam 2
Replies: 12
Views: 11023

Re: Updating firmware for OpenMV Cam 2

Hi, add a jumper wire between the BOOT and RST pins and nothing seems to be happening You should disconnect the USB cable and reconnect with the jumper betweent BOOT and RST (or 3.3v out). I'm not sure if the camera has a bootloader, the IDE probably doesn't flash the bootloader either. So let me kn...
by iabdalkader
Sat Mar 03, 2018 7:51 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

Hi download the script like so:

Code: Select all

wget https://raw.githubusercontent.com/openmv/openmv/master/usr/openmv-cascade.py
Then run it like this:

Code: Select all

python2.7 openmv-cascade.py cascade_file.xml
by iabdalkader
Wed Feb 28, 2018 8:43 am
Forum: Project Discussion
Topic: How to implement POST and GET
Replies: 1
Views: 205

Re: How to implement POST and GET

Just like you would in Python:

Code: Select all

sock.send("GET / HTTP/1.0\r\n\r\n")
by iabdalkader
Tue Feb 27, 2018 3:26 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

No the script should work out of the box though, anyway we're going to add a built-in cascade converter to the IDE it's just a matter of time.
by iabdalkader
Mon Feb 26, 2018 7:37 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

here I converted the file for you.
by iabdalkader
Mon Feb 26, 2018 7:36 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

Can you run it from the terminal so we can see the error ?
by iabdalkader
Sat Feb 24, 2018 4:20 pm
Forum: Technical Discussion
Topic: f.write
Replies: 21
Views: 7632

Re: f.write

I just tested your script, and it's working on flash and SD card I see the file with pixel values.
by iabdalkader
Sat Feb 24, 2018 3:34 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 39
Views: 9239

Re: implement own Haar-Cascade

I don't know what conver.py is, please use our script:

./openmv-cascade.py haarcascade_fullbody.xml

Also Note it doesn't work on Windows.
by iabdalkader
Sun Feb 18, 2018 10:33 am
Forum: Technical Discussion
Topic: OpenMV power supply issue
Replies: 1
Views: 606

Re: OpenMV power supply issue

Sounds like a brownout, maybe adding two large caps on the input would help. I wouldn't waste time figuring out what the CPU is doing, if the conditions are not met it will be in an unpredictable state.
by iabdalkader
Fri Feb 16, 2018 9:55 am
Forum: General Topics
Topic: UART data communication to arduino board question?
Replies: 9
Views: 15746

Re: UART data communication to arduino board question?

Hi, can you test with a serial terminal and see if you're getting the expected data ?
by iabdalkader
Wed Feb 14, 2018 2:22 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 5744

Re: importing a *.bmp file

I think you just need to add copy_to_fb=True.

Code: Select all

image.Image("file.bmp", copy_to_fb=True)
by iabdalkader
Wed Feb 14, 2018 6:46 am
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 5744

Re: importing a *.bmp file

Hi, please post your replies to this topic, don't create a new topic for each reply.

Use the Image class (note the capital I)

Code: Select all

image.Image("image.bmp")
You can't load a 900+KBs image see the memory limits in the documentation.
by iabdalkader
Sat Feb 10, 2018 4:21 pm
Forum: General Topics
Topic: importing a *.bmp file
Replies: 8
Views: 5744

Re: importing a *.bmp file

Hi, you have to copy the image to the camera's SD card first, the camera can't access files on your PC and then use this path:

Code: Select all

image.Image("/blkandwht.bmp")
by iabdalkader
Sat Feb 03, 2018 7:20 am
Forum: Technical Discussion
Topic: Error Flashing Custom Firmware
Replies: 5
Views: 2101

Re: Error Flashing Custom Firmware

Hi, try connecting NRST to RST pin.
by iabdalkader
Sun Jan 28, 2018 9:35 am
Forum: Technical Discussion
Topic: Slower than expected FPS
Replies: 17
Views: 9294

Re: Slower than expected FPS

Hi, The sensor outputs 120FPS, you can confirm this with the scope if you (carefully) scratch the VSYNC signal via and test that point (see the design files). The older firmware set the sensor output to VGA (which is limited to 60FPS) and down-scaled from VGA to lower resolutions. I changed that so ...
by iabdalkader
Sat Jan 27, 2018 5:58 pm
Forum: Technical Discussion
Topic: Slower than expected FPS
Replies: 17
Views: 9294

Re: Slower than expected FPS

Hi, are you using an old firmware ? If so you should update the firmware to the latest.
by iabdalkader
Fri Jan 26, 2018 4:14 pm
Forum: Technical Discussion
Topic: Power saving mode
Replies: 14
Views: 2461

Re: Power saving mode

Hi, use sensor.sleep(). you'll have to update the firmware first to the latest (2.7).
by iabdalkader
Wed Jan 24, 2018 11:46 am
Forum: Technical Discussion
Topic: run cascade file openmv3 automatically disconnects from IDE
Replies: 7
Views: 365

Re: run cascade file openmv3 automatically disconnects from IDE

Hi, the cascade generator doesn't work on Windows, we'll add it to the IDE at some point. If you got it working and it detects nothing, try changing the threshold and/or scale factor.

Go to advanced search