Search found 482 matches

by iabdalkader
Tue Jul 17, 2018 2:43 pm
Forum: Technical Discussion
Topic: how Debug firmware
Replies: 2
Views: 20

Re: how Debug firmware

You don't need to change the linker script, just use the main firmware image with gdb and break on main() and it will work. For example:

Code: Select all

arm-none-eabi-gdb -ex "tar ext:4242" ../firmware/OPENMV3/firmware.elf
(gdb) break main
by iabdalkader
Mon Jul 16, 2018 8:39 am
Forum: Technical Discussion
Topic: Controller Area Network
Replies: 2
Views: 15

Re: Controller Area Network

Hi, unfortunately CAN was disabled in firmware 3.0 by mistake, I just fixed this, so it's going to be re-enabled in the next release. You can use any older firmware for now if you like or wait for the next release.
by iabdalkader
Fri Jul 13, 2018 8:34 am
Forum: General Topics
Topic: Awesome product & general thanks
Replies: 2
Views: 42

Re: Awesome product & general thanks

Thank you for the kind words, it's always nice to meet an original OMV backer :)
by iabdalkader
Fri Jul 13, 2018 8:33 am
Forum: Technical Discussion
Topic: how to detect the water line
Replies: 7
Views: 63

Re: how to detect the water line

If you could put a colored float in the tubes it will be a lot easier to detect.
by iabdalkader
Tue Jul 10, 2018 2:21 pm
Forum: General Topics
Topic: Wifi Shield
Replies: 5
Views: 58

Re: Wifi Shield

Hi, Using the connect example I am able to connect to my local wifi network using an OpenMV M7 and a wifi shield. However, I was wondering if there is a way to see the video/upload code over wifi when I am not connected and if so if there are instructions somewhere for that? I.e. if that was unclea...
by iabdalkader
Sun Jul 01, 2018 5:52 pm
Forum: Technical Discussion
Topic: emotion recognition
Replies: 2
Views: 55

Re: emotion recognition

Actually we just posted the tutorial, here's the link

https://openmv.io/blogs/news/deep-learn ... p-learning
by iabdalkader
Sun Jul 01, 2018 5:49 pm
Forum: Technical Discussion
Topic: emotion recognition
Replies: 2
Views: 55

Re: emotion recognition

Yes I think this a perfect application for OpenMV CNN, especially that we have a fast face detector (see the smile detection example). We're going to release the updated fw, ide and examples very soon also we're posting a training tutorial, so you could try to train it yourself if you like. If the n...
by iabdalkader
Sat Jun 30, 2018 12:45 pm
Forum: Technical Discussion
Topic: New firmware release
Replies: 6
Views: 92

Re: New firmware release

The firmware is out already, the IDE update will follow in a few days. if you don't want to wait for the IDE update you can download the images from github and upload them to the camera:

https://github.com/openmv/openmv/releases/tag/3.0
by iabdalkader
Thu Jun 28, 2018 12:16 pm
Forum: Technical Discussion
Topic: keypoints and color detection
Replies: 2
Views: 48

Re: keypoints and color detection

Hi, keypoints will support RGB images in the new release.
by iabdalkader
Tue Jun 26, 2018 10:40 am
Forum: General Topics
Topic: starting speed of openmv
Replies: 4
Views: 81

Re: starting speed of openmv

Also if the Flash file system is corrupted it takes time to create a fresh fs.
by iabdalkader
Mon Jun 25, 2018 10:19 am
Forum: Technical Discussion
Topic: This method is unavailable on your OpenMV Cam version.
Replies: 6
Views: 103

Re: This method is unavailable on your OpenMV Cam version.

Great.. When will be your release date of OpenMV4-H7 ? I'd love to get one... Or, is there an early-bird price ? We're going to kickstart it soon. What's more, from the name, OpenMV3-F7 should come with a STM32F7? While OpenMV4-H7 comes with a STM32H7? That's true. https://www.youtube.com/watch?v=1...
by iabdalkader
Sun Jun 24, 2018 6:58 pm
Forum: Technical Discussion
Topic: camera matrix
Replies: 12
Views: 150

Re: camera matrix

I am unable to find calibration.py in the OpenMV repository. Could you please point me to the link? calibration.py is an Open-CV script https://github.com/opencv/opencv/blob/master/samples/python/calibrate.py I am using QQVGA for ar tags else there is a memory issue. Is there something else i need ...
by iabdalkader
Sun Jun 24, 2018 6:33 pm
Forum: General Topics
Topic: use of blob.cx()
Replies: 9
Views: 193

Re: use of blob.cx()

sri wrote:
Tue Jun 12, 2018 4:56 am
hi,somehow blob.cx() gives the approximate value its enough for me.In my project i have to take the snapshot and than i have to send the different blob.cx() value to the raspberry pi how can i do this.
Hi, please search the forums for serial you'll find many examples for doing that.
by iabdalkader
Sun Jun 24, 2018 6:24 pm
Forum: Technical Discussion
Topic: camera matrix
Replies: 12
Views: 150

Re: camera matrix

You can calibrate the camera the same way using Open*CV*. i.e. capture images of the squares, save to SD run the calibrate.py script. These are my results: 1.7mm VGA RMS: 0.441215118532 camera matrix: [[ 292.03384947 0. 297.59432695] [ 0. 291.68951254 221.76270058] [ 0. 0. 1. ]] distortion coefficie...
by iabdalkader
Sun Jun 24, 2018 5:57 pm
Forum: General Topics
Topic: UART Loop
Replies: 5
Views: 164

Re: UART Loop

Try a higher timeout_char (1000).
by iabdalkader
Sun Jun 24, 2018 5:41 pm
Forum: Technical Discussion
Topic: This method is unavailable on your OpenMV Cam version.
Replies: 6
Views: 103

Re: This method is unavailable on your OpenMV Cam version.

* Which version is the NEWEST with all functions enabled? The camera you have is the original OpenMV2-M4 (the kickstarter camera). I think it's at least 5 years old now (the date is the production run/rev date). The newest camera with everything enabled is the OpenMV4-H7 which is Not released yet a...
by iabdalkader
Sun Jun 24, 2018 8:32 am
Forum: Technical Discussion
Topic: saving video on SD card
Replies: 39
Views: 1276

Re: saving video on SD card

Hi, I am using the code in this discussion but am unable to get images or videos (jpg or mjpeg) to save. The file name will only show up on my computer once I have disconnected the device and reconnected it but will have zero bytes in it. Any help would be greatly appreciated! I am using a mac with...
by iabdalkader
Thu Jun 21, 2018 2:30 pm
Forum: General Topics
Topic: Would it be possible to perform the canny edge detection just inside a roi?
Replies: 2
Views: 91

Re: Would it be possible to perform the canny edge detection just inside a roi?

Hi, there's a bug in Canny edge ROI, the code allocates the gradient array for the whole image (regardless of ROI). It's now fixed and I confirmed it works on OMV3, 4 and will be included in the next release.
by iabdalkader
Wed Jun 20, 2018 2:26 pm
Forum: Technical Discussion
Topic: implement own Haar-Cascade
Replies: 42
Views: 10968

Re: implement own Haar-Cascade

Hi download the script like so: wget https://raw.githubusercontent.com/openmv/openmv/master/usr/openmv-cascade.py The link above seems not existed any longer. I get it from https://github.com/openmv/openmv/blob/master/ml/haarcascade/cascade_convert.py but when I ran it with attached xml file on ubu...
by iabdalkader
Tue Jun 19, 2018 9:39 pm
Forum: Technical Discussion
Topic: USB HID mode
Replies: 6
Views: 101

Re: USB HID mode

Yes from github if u don't want to wait for the next release.
by iabdalkader
Tue Jun 19, 2018 7:53 pm
Forum: Technical Discussion
Topic: USB HID mode
Replies: 6
Views: 101

Re: USB HID mode

I re-enabled boot.py, you'll be able to use it as usual (note only VCP+MSC and VCP+HID are tested and working, I wouldn't try anything else).
by iabdalkader
Mon Jun 18, 2018 12:30 am
Forum: Technical Discussion
Topic: connection between raspberrypi and openmvcam
Replies: 17
Views: 344

Re: connection between raspberrypi and openmvcam

I'd use UART to avoid the SPI master/slave issue, and you don't need high baudrates if you're just sending the detection results.
by iabdalkader
Mon Jun 18, 2018 12:27 am
Forum: Technical Discussion
Topic: USB HID mode
Replies: 6
Views: 101

Re: USB HID mode

HID mode is not enabled, I'll see if I can enable it before the next release.

Note: main.py and boot.py can run from SD or Flash the same, but we don't use boot.py so it's ignored.
by iabdalkader
Fri Jun 15, 2018 1:26 am
Forum: General Topics
Topic: Regarding openmv cam m7
Replies: 2
Views: 84

Re: Regarding openmv cam m7

Is that the MCU serial number ? From the user's perspective they shouldn't be different.
by iabdalkader
Fri Jun 15, 2018 1:24 am
Forum: General Topics
Topic: my own cascade
Replies: 6
Views: 176

Re: my own cascade

Yes we will be releasing a new firmware for M4 soon.
by iabdalkader
Tue Jun 12, 2018 8:19 pm
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 180

Re: MemoryError when read wave frames

Just tested, it seems not fix my issue on M7. do you have an estimate of memory cost of openmv itself excluding framebuffer? Thanks Hi, Add a gc.collect at the end of detect_face_image: self.check_head_sideway(rotate_angle) gc.collect() And gc.collect() before reading frames: gc.collect() frames = ...
by iabdalkader
Tue Jun 12, 2018 6:41 pm
Forum: General Topics
Topic: my own cascade
Replies: 6
Views: 176

Re: my own cascade

Seems you're on a very old firmware, please update the firmware first.
by iabdalkader
Sat Jun 09, 2018 7:42 pm
Forum: Technical Discussion
Topic: mjpeg_streaming_ap not support ios devices
Replies: 2
Views: 85

Re: mjpeg_streaming_ap not support ios devices

On Android I use the MJpegViewer App.
by iabdalkader
Sat Jun 09, 2018 4:14 pm
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 180

Re: MemoryError when read wave frames

This is just a fragmented memory issue, the scripts run fine on H7. I think most of memory is consumed by just loading/parsing/compiling the modules wave and chunk. This seems to fix it: frames = f.readframes(frame_rate) self.dac.write_timed(frames, frame_rate) del frames delay(1000) gc.collect()
by iabdalkader
Wed Jun 06, 2018 11:49 am
Forum: Technical Discussion
Topic: MemoryError when read wave frames
Replies: 10
Views: 180

Re: MemoryError when read wave frames

Falong wrote:
Tue Jun 05, 2018 11:04 pm
Is this MemoryError due to limited heap size? how to check how much heap available? the tested wav file is less than 9kB.
import gc

print("Free: %dKBs"%(gc.mem_free()//1024))

Note memory could be fragmented.

Please share the whole script(s)+wave file(s) in a .zip and I'll test them.
by iabdalkader
Wed Jun 06, 2018 11:42 am
Forum: Technical Discussion
Topic: LCD type
Replies: 22
Views: 281

Re: LCD type

I have a st7735 with res of 160 x 128 that runs 16 bit colour so would be perfect for RGB565 in QQVGA. Will it be compatible with the LCD module?? Also if it is what's the pin out as the docs just say P0, P2, P3, P6, P7, and P8 without defining MOSI, MISO, CS, D0, BL, RST Yes I think that's the sam...
by iabdalkader
Wed May 30, 2018 1:30 pm
Forum: Technical Discussion
Topic: WINC module for pyboard...
Replies: 2
Views: 78

Re: WINC module for pyboard...

Hi, you could open a feature request in micropython's upstream repo and ask to add the driver. They can use our C driver if they like.
by iabdalkader
Tue May 29, 2018 8:52 pm
Forum: Technical Discussion
Topic: Using OpenMV camera with normal python 3 ?
Replies: 4
Views: 206

Re: Using OpenMV camera with normal python 3 ?

We also have our own OpenMV Python module here: https://github.com/openmv/openmv/blob/master/tools/pyopenmv.py Using this you can communicate with the camera in "debug mode" (meaning you can read the framebuffer and the text buffer and run/stop scripts etc..). Here's an example using pygame: https:/...
by iabdalkader
Mon May 28, 2018 11:03 pm
Forum: Technical Discussion
Topic: What is maximum Z position(height), to get the crisp preview of a phone screen below openmv camera ?
Replies: 2
Views: 88

Re: What is maximum Z position(height), to get the crisp preview of a phone screen below openmv camera ?

Did you save that image from a script or screenshot the IDE preview ? Note the IDE preview is JPEG compressed (small text will be destroyed).
by iabdalkader
Fri May 25, 2018 7:53 pm
Forum: Technical Discussion
Topic: test own Haar-Cascade
Replies: 2
Views: 107

Re: test own Haar-Cascade

Hi, your cascade has only 2 stages I expected much more, which makes think it probably won't work so I tested it with OpenCV on a pos image and it doesn't detect it: import numpy as np import cv2 as cv cascade = cv.CascadeClassifier('trafficsign/trafficsign.xml') img = cv.imread('trafficsign/pos/000...
by iabdalkader
Fri May 25, 2018 7:23 pm
Forum: Technical Discussion
Topic: Issue with MK7 Camera
Replies: 6
Views: 169

Re: Issue with MK7 Camera

Sounds like a short. Do you have a USB current meter ?
by iabdalkader
Thu May 24, 2018 10:13 am
Forum: Technical Discussion
Topic: OSError could not find the file
Replies: 5
Views: 168

Re: OSError could not find the file

All 3 .pgm files are in the same folder as the .py
The images need to be on the camera's storage (flash or SD card)
by iabdalkader
Mon May 21, 2018 9:13 pm
Forum: General Topics
Topic: OpenMV IDE 1.9.0 "stopping" issue
Replies: 17
Views: 368

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: 17
Views: 368

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

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: 7
Views: 219

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: 7
Views: 219

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

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

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: 39
Views: 1276

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

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: 39
Views: 1276

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: 39
Views: 1276

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.

Go to advanced search