Search found 1085 matches

by iabdalkader
Fri Feb 14, 2020 7:56 am
Forum: General Topics
Topic: How to add function to image class
Replies: 7
Views: 193

Re: How to add function to image class

Oh thats good to hear! I tried the code and it works fine, but for some reason when I comment out the line that calculates and prints the mean and std, it throws a MemoryError. How can this be? How does print the mean and std use less ram? Has this got something to do with python realising that you...
by iabdalkader
Thu Feb 13, 2020 1:16 pm
Forum: General Topics
Topic: How to add function to image class
Replies: 7
Views: 193

Re: How to add function to image class

Hey, The algorithm is for grayscale images, so ulab is working fine, and it would be great to have the image as an ndarray if thats possible! :D Actually I enabled that already for GS and RGB (RGB images returns 2D arrays of uint16) and forgot all about it, here: https://github.com/openmv/openmv/co...
by iabdalkader
Wed Feb 12, 2020 6:32 am
Forum: Project Discussion
Topic: Color recognition and send data between arduino and openmv(vice versa)
Replies: 4
Views: 204

Re: Color recognition and send data between arduino and openmv(vice versa)

There's a tool in the IDE that can help you do that, Tools->Machine Vision->Threshold Editor.
by iabdalkader
Wed Feb 12, 2020 6:24 am
Forum: General Topics
Topic: How to add function to image class
Replies: 7
Views: 193

Re: How to add function to image class

The ulab module doesn't support images (specifically not RGB images since it doesn't support 3 dimensional arrays), I've opened an issue about this here https://github.com/v923z/micropython-ulab/issues/2 the developer of ulab said it will be supported at some point. I can make grayscale images work ...
by iabdalkader
Tue Feb 04, 2020 7:12 am
Forum: Technical Discussion
Topic: is it possible to do something else during adc reading ?
Replies: 1
Views: 96

Re: is it possible to do something else during adc reading ?

That's not how this function works, it reads n samples and then returns. If you want to do something else while sampling the closest you can get is sampling in a timer callback.
by iabdalkader
Tue Feb 04, 2020 6:54 am
Forum: Technical Discussion
Topic: Combine Wifi shield and LCD shield
Replies: 1
Views: 53

Re: Combine Wifi shield and LCD shield

We have a few examples for motion detection, as for the WiFi shield it can't be used with our LCD shield at the same time.
by iabdalkader
Sun Feb 02, 2020 6:15 pm
Forum: Technical Discussion
Topic: Is my OpenMV H7 dead?
Replies: 7
Views: 256

Re: Is my OpenMV H7 dead?

I'm using an Amazon Basics micro-USB. Amazon states that it will transfer data and I have used it to power my Raspberry Pi so I am confident we can rule out the USB cable as the culprit. Not necessarily, most of these Amazon basics cables are power only (even if they say data), please try another U...
by iabdalkader
Sun Feb 02, 2020 6:28 am
Forum: General Topics
Topic: M7, my build no frame buffer in the ide
Replies: 6
Views: 171

Re: M7, my build no frame buffer in the ide

Please use the latest release, the development firmware you built won't work with the IDE you have.
by iabdalkader
Sat Feb 01, 2020 9:54 am
Forum: Technical Discussion
Topic: H7 keeps resetting after random # loops Firmware?
Replies: 6
Views: 150

Re: H7 keeps resetting after random # loops Firmware?

Hi Just did.. Ran bootloader on old firmware with erase and next after connect updated to latest.. with SD card.. I noted even after a few minutes, no blue led came up indicating the self tests have been completed.. Ran py sample and it resets after about 30 seconds Again an update sry.. I noted th...
by iabdalkader
Sat Feb 01, 2020 5:40 am
Forum: Technical Discussion
Topic: H7 keeps resetting after random # loops Firmware?
Replies: 6
Views: 150

Re: H7 keeps resetting after random # loops Firmware?

Could you try erasing the filesystem ? or running the script with an SD card attached.
by iabdalkader
Thu Jan 30, 2020 1:30 pm
Forum: General Topics
Topic: Focus Problem
Replies: 2
Views: 76

Re: Focus Problem

Hi, A new user here. So far, everything works well except...focus. I can not get the unit to focus farther than 5 to 6 inches from the lens. I'm using the standard lens. I took it all apart and cleaned with iso alcohol as instructed. This did not fix focus problem. It seems that I can't get the len...
by iabdalkader
Thu Jan 30, 2020 5:38 am
Forum: Technical Discussion
Topic: Timer 4 Reserved Fix
Replies: 13
Views: 312

Re: Timer 4 Reserved Fix

you're right I have two openMV3 R2 I find the firmware for this cam from 17 december 2019 but this one wasn't fixed for use the timer 4. Can you tell me where I can find a firmware fixed for the openmv3 please. Thanks Philippe You can download the firmware from github, any older release should work...
by iabdalkader
Wed Jan 29, 2020 5:30 pm
Forum: General Topics
Topic: Roadmap Information (Picking up Micropython Releases)
Replies: 1
Views: 69

Re: Roadmap Information (Picking up Micropython Releases)

I was wondering about support for Micropython v1.12. Not for any specific reason, just curious. I looked around for a roadmap, or information on releases and didn't find one. Is there a page someplace I missed? Thanks! No there isn't.. The next release will have support for 1.12, I'm currently test...
by iabdalkader
Wed Jan 29, 2020 5:28 pm
Forum: Technical Discussion
Topic: Timer 4 Reserved Fix
Replies: 13
Views: 312

Re: Timer 4 Reserved Fix

I download firmware v.3.5.2, and Flash Bootloader, it works as before, without timer 4 I retry new firmware and it stop again at self test. Which firmware image did you use ? You need the specific firmware for your camera. You didn't mention which camera you have, if it's OpenMV-4 upload OPENMV4/fi...
by iabdalkader
Wed Jan 29, 2020 1:12 pm
Forum: Technical Discussion
Topic: Timer 4 Reserved Fix
Replies: 13
Views: 312

Re: Timer 4 Reserved Fix

Tools-> run bootloader
by iabdalkader
Wed Jan 29, 2020 12:57 pm
Forum: Technical Discussion
Topic: Timer 4 Reserved Fix
Replies: 13
Views: 312

Re: Timer 4 Reserved Fix

hi I try to use the motor shield with my students but we have a problem with the examples because timer 4 is reserved. It seems the firmware below can fix this problem. but how install this firmware please. regards Philippe From the IDE you need to run the bootloader and upload firmware.bin. We're ...
by iabdalkader
Wed Jan 29, 2020 12:03 pm
Forum: Technical Discussion
Topic: img-chars74k.network network module missing,
Replies: 9
Views: 2462

Re: img-chars74k.network network module missing,

You just need to copy this network to SD and the run the script, but I don't think we have that network.
by iabdalkader
Thu Jan 23, 2020 3:34 pm
Forum: General Topics
Topic: Longer FPC cable
Replies: 1
Views: 171

Re: Longer FPC cable

Hi, no sorry a longer cable won't work because this is an 8-bit parallel bus and the signal degrades quickly.
by iabdalkader
Wed Jan 22, 2020 7:43 pm
Forum: Project Discussion
Topic: Facial Recognition Reference & I/O Control
Replies: 1
Views: 108

Re: Facial Recognition Reference & I/O Control

Hi, are you talking about the face recognition example ? You just need to put a few images of each person in sub directories and change the paths in the script. Note the face-recognition example is just a PoC implementation of a paper, it doesn't work that well.
by iabdalkader
Tue Jan 21, 2020 4:32 pm
Forum: Technical Discussion
Topic: OSError: Failed to init the MLX90640!
Replies: 2
Views: 92

Re: OSError: Failed to init the MLX90640!

It should be working, we haven't tested it for a while but I have one with me I can check. Please open an issue on github otherwise this might get lost: https://github.com/openmv/openmv/issues Please include these links: http://forums.openmv.io/posting.php?f=6&t=1704 http://forums.openmv.io/viewtopi...
by iabdalkader
Mon Jan 20, 2020 7:26 pm
Forum: General Topics
Topic: wifi shield trouble
Replies: 1
Views: 84

Re: wifi shield trouble

by iabdalkader
Mon Jan 20, 2020 12:06 pm
Forum: Project Discussion
Topic: color detect in grayscale mode template
Replies: 1
Views: 89

Re: color detect in grayscale mode template

The template matching only works on grayscale images, but you can switch the sensor pixel format to color and find the blobs after detecting the template.
by iabdalkader
Sat Jan 18, 2020 11:19 am
Forum: Technical Discussion
Topic: Problem running usb_vcp.py code.
Replies: 10
Views: 435

Re: Problem running usb_vcp.py code.

Hi, just remove all the print() statements and the code will work as expected, you can't print while using USB VCP, all that output goes through USB as well.
by iabdalkader
Thu Jan 16, 2020 6:33 pm
Forum: Technical Discussion
Topic: What is the lowest resolution of the camera?
Replies: 1
Views: 130

Re: What is the lowest resolution of the camera?

Hi, I got the H7 - What is the lowest resolution possible of the camera? I'm thinking of buying the Global Shutter Camera - What is the lowest resolution possible of this camera? Reuben The lowest resolution is QQQQVGA (40x30), you can set a smaller window/crop (with set_windowing()) to get a lower...
by iabdalkader
Tue Jan 14, 2020 9:47 am
Forum: General Topics
Topic: GSM/LTE
Replies: 3
Views: 161

Re: GSM/LTE

If the LTE module has a serial/i2c/spi port it should work just fine.
by iabdalkader
Tue Jan 14, 2020 6:19 am
Forum: Technical Discussion
Topic: Import data on matlab
Replies: 3
Views: 164

Re: Import data on matlab

GiusB wrote:
Tue Jan 14, 2020 4:31 am
Otherwise is it possible to connect the camera with an arduino system and process this data?
Yes, see the Arduino examples in the IDE menu.
by iabdalkader
Mon Jan 13, 2020 10:40 am
Forum: Technical Discussion
Topic: Import data on matlab
Replies: 3
Views: 164

Re: Import data on matlab

I don't have much experience with matlab, but if you can open a serial port in matlab you should be able to read those values, also try searching the forums you should find some posts about matlab and openmv.
by iabdalkader
Sun Jan 12, 2020 3:58 pm
Forum: Technical Discussion
Topic: What is the best method to sleep for 300 seconds ?
Replies: 3
Views: 141

Re: What is the best method to sleep for 300 seconds ?

See the low-power scripts in the IDE. Note the M4 may be falling behind on updates, I would recommend upgrading to the F7 or H7.
by iabdalkader
Sun Jan 12, 2020 10:42 am
Forum: Technical Discussion
Topic: Flashing Green, then white once, then dead... bricked?
Replies: 6
Views: 169

Re: Flashing Green, then white once, then dead... bricked?

Do you have an sdcard connected ? If so the camera will not find main.py and will just wait for the IDE to connect.
by iabdalkader
Sat Jan 11, 2020 7:28 pm
Forum: Technical Discussion
Topic: compile my *.py script to *.mpy and compile &.mpy into firmware
Replies: 6
Views: 183

Re: compile my *.py script to *.mpy and compile &.mpy into firmware

It won't be readable like a .py, it will be bytecode, but it's not encrypted someone could decompile it.
by iabdalkader
Fri Jan 10, 2020 7:08 am
Forum: Technical Discussion
Topic: compile my *.py script to *.mpy and compile &.mpy into firmware
Replies: 6
Views: 183

Re: compile my *.py script to *.mpy and compile &.mpy into firmware

You need to build the the firmware from source, clone the repository and just put your script in scripts/libraries/ and build.
by iabdalkader
Wed Jan 08, 2020 6:19 am
Forum: Technical Discussion
Topic: wich image formats can i use?
Replies: 1
Views: 70

Re: wich image formats can i use?

ppm, pgm and bmp.
by iabdalkader
Tue Jan 07, 2020 10:21 am
Forum: General Topics
Topic: Upload program from openmv Board to PC
Replies: 6
Views: 322

Re: Upload program from openmv Board to PC

Maybe the filesystem was erased, there's no way to get that code back.
by iabdalkader
Mon Jan 06, 2020 12:07 pm
Forum: General Topics
Topic: 5MP OV5640 sensor on STM32F765
Replies: 3
Views: 258

Re: 5MP OV5640 sensor on STM32F765

Hi, we're still working on the OV5640 driver, trying to get the FPS higher.
by iabdalkader
Sun Jan 05, 2020 5:43 pm
Forum: Technical Discussion
Topic: Battery Charge Level / Gauge
Replies: 2
Views: 206

Re: Battery Charge Level / Gauge

No there's no easy way to do that, you can use the ADC, but you need to lower the voltage to 0-VREF (~3.3v), this might be useful:
https://vivonomicon.com/2019/10/15/read ... tm32s-adc/
by iabdalkader
Sun Jan 05, 2020 9:29 am
Forum: General Topics
Topic: Upload program from openmv Board to PC
Replies: 6
Views: 322

Re: Upload program from openmv Board to PC

Which code ? If you want the Python code, copy main.py. If you want the C/firmware you could use dfu-util or a debugger to read the flash, please google how to do that.
by iabdalkader
Sun Jan 05, 2020 5:34 am
Forum: General Topics
Topic: Upload program from openmv Board to PC
Replies: 6
Views: 322

Re: Upload program from openmv Board to PC

Do you mean the running script ? You can copy main.py from the camera.
by iabdalkader
Sun Dec 22, 2019 10:41 am
Forum: General Topics
Topic: OpenMV Cam H7 schematic
Replies: 2
Views: 296

Re: OpenMV Cam H7 schematic

by iabdalkader
Fri Dec 20, 2019 8:09 pm
Forum: Technical Discussion
Topic: ATWINC1500-MR210PB firmware
Replies: 6
Views: 518

Re: ATWINC1500-MR210PB firmware

You'll find the firmware here <openmv-ide-install-dir>/share/qtcreator/firmware/WINC1500/winc_19_6_1.bin
by iabdalkader
Tue Dec 17, 2019 2:49 pm
Forum: Technical Discussion
Topic: TCP socket fails to transmit data
Replies: 2
Views: 299

Re: TCP socket fails to transmit data

I can't reproduce this issue, it seems to be working as expected. I noticed in your nc command you have port and ip swapped. Should be something like this:

nc -v 192.168.1.103 8080
by iabdalkader
Tue Dec 17, 2019 1:41 pm
Forum: Technical Discussion
Topic: what version of MicroPython is it?
Replies: 8
Views: 672

Re: what version of MicroPython is it?

Hi, the issues with timers have been fixed, if you update to the latest firmware on github you can use TIM2, TIM3 and TIM7->TIM14 on the F7/OMV3 and TIM2,TIM3,TIM7,TIM8 and TIM12->TIM17 on the H7/OMV4.
by iabdalkader
Mon Dec 16, 2019 12:17 pm
Forum: General Topics
Topic: H7 compilation
Replies: 15
Views: 3085

Re: H7 compilation

Hey chrisPyres66, I found an issue in our H7 firmware that prevents it from being debugged, it seems the DBGMCU is disabled in sleep/low-power modes by default and this disables debugging when say WFI() is called. I've fixed this issue and I can debug the H7 firmware using Segger JLINK + their GDB s...
by iabdalkader
Fri Dec 13, 2019 6:59 am
Forum: Technical Discussion
Topic: TCP socket fails to transmit data
Replies: 2
Views: 299

Re: TCP socket fails to transmit data

I'll test this and get back to you.
by iabdalkader
Thu Dec 12, 2019 3:28 pm
Forum: Technical Discussion
Topic: what version of MicroPython is it?
Replies: 8
Views: 672

Re: what version of MicroPython is it?

Hi, you should be able to use all the timers (up to 17 on the H7) except 1,3,4,5, 6 which are reserved for other stuff. I was just double checking timers on the H7 before I reply and found out that not all of them are working as expected, I'm going to fix this in the next couple of days and send pat...
by iabdalkader
Wed Dec 11, 2019 5:21 pm
Forum: Technical Discussion
Topic: what version of MicroPython is it?
Replies: 8
Views: 672

Re: what version of MicroPython is it?

No threading is not supported, you're going to have to use timer callbacks.
by iabdalkader
Tue Dec 10, 2019 4:32 pm
Forum: General Topics
Topic: NN support on OpenMV
Replies: 4
Views: 589

Re: NN support on OpenMV

Hi, * By M7 do you mean F7 ? or H7 ? The H7 has enough memory to run bigger networks. * No networks can't run from SD they need to be loaded in RAm. * You can make networks smaller by removing layers (or making layers smaller). * I'm not sure what's the current state of Tensorflow support is, you'd ...
by iabdalkader
Tue Dec 10, 2019 12:11 pm
Forum: General Topics
Topic: Template matching with framesize QVGA
Replies: 9
Views: 857

Re: Template matching with framesize QVGA

Hi, yes I get the same error by just stopping/running the script again. I'm not sure why you're not calling sensor.reset() (we have this explicitly in every example) if you just just add sensor.reset() before using the sensor it works as expected. EDIT: I'll make sure the sensor state is reset on so...
by iabdalkader
Mon Dec 09, 2019 7:46 pm
Forum: Technical Discussion
Topic: what version of MicroPython is it?
Replies: 8
Views: 672

Re: what version of MicroPython is it?

1.11 with some upstream patches.
by iabdalkader
Mon Dec 09, 2019 6:33 pm
Forum: Technical Discussion
Topic: Sending Images through HTTP
Replies: 3
Views: 374

Re: Sending Images through HTTP

Yes the flash filesystem is very limited (few kbytes) it's meant for logs, scripts etc.. not for images.

Go to advanced search