Search found 1299 matches

by iabdalkader
Mon Jan 25, 2021 7:06 pm
Forum: General Topics
Topic: H7 plus Saving images to SDRAM for post processing
Replies: 12
Views: 166

Re: H7 plus Saving images to SDRAM for post processing

Actually that's right you should use the enum.
by iabdalkader
Mon Jan 25, 2021 6:26 pm
Forum: Technical Discussion
Topic: Saved bmp files have incorrect dimensions
Replies: 3
Views: 14

Re: Saved bmp files have incorrect dimensions

Which OpenMV is that ? Also please include all the firmware info you see in the IDE when connected to the camera.
by iabdalkader
Mon Jan 25, 2021 6:23 pm
Forum: Arduino Portenta H7
Topic: Microspeech
Replies: 2
Views: 11

Re: Microspeech

Yes but it's only available on the Arduino Portenta.

There's an example in the IDE and you can find the model here:

https://github.com/iabdalkader/microspeech-yesno-model

Copy it to SD card or flash storage.
by iabdalkader
Mon Jan 25, 2021 3:52 pm
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 16
Views: 104

Re: Low Power with External Trigger

BTW I also tested the firmware used in the linked post, it's fw 3.0.0, and I get the same 10mA with the OPENMV3/F7 in stop mode.
by iabdalkader
Mon Jan 25, 2021 3:14 pm
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 16
Views: 104

Re: Low Power with External Trigger

I just a made a small fix to shutdown and the final numbers that I see are 10mA in sleep()/lightsleep() (STOP mode), and less than 10mA in deepsleep() (STANDBY mode) I'm not sure what the exact numbers are if you have a meter hooked up let us know. 2. What do I need to modify in my code to reach 10m...
by iabdalkader
Mon Jan 25, 2021 2:33 pm
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 16
Views: 104

Re: Low Power with External Trigger

tomerle wrote:
Mon Jan 25, 2021 9:55 am
So Currently it is not possible to get lower than 10mA on Sleep mode with the H7 plus ?
The best we can do right now is 30mA for STOP mode and less than 10mA in STANDBY mode. I'm working on a fix to the stop mode could possibly get down to 10mA.
by iabdalkader
Sun Jan 24, 2021 4:05 pm
Forum: General Topics
Topic: H7 plus Saving images to SDRAM for post processing
Replies: 12
Views: 166

Re: H7 plus Saving images to SDRAM for post processing

Joe100A wrote:
Sun Jan 24, 2021 3:53 pm
1) What is bpp below?
2) The seek function (seek(n)) hoes to the the nth frame and every time read() is called you get the n+1 frame out?
Bytes Per Pixel, and read returns the current frame not n+1 if you seek(0) read() returns the first frame.
by iabdalkader
Sat Jan 23, 2021 12:25 pm
Forum: Technical Discussion
Topic: How to install a shield?
Replies: 3
Views: 38

Re: How to install a shield?

Shields are stacked with the long headers, see the product page https://openmv.io/collections/shields/p ... i-shield-1
by iabdalkader
Sat Jan 23, 2021 9:14 am
Forum: Technical Discussion
Topic: Unexpected result trying to set CPU frequency
Replies: 2
Views: 23

Re: Unexpected result trying to set CPU frequency

@Kwabena we shouldn't mention specific frequencies in the docs as it depends on the chip and board.
by iabdalkader
Fri Jan 22, 2021 10:17 am
Forum: Technical Discussion
Topic: Use pin P6 with the Wifi Shield
Replies: 2
Views: 23

Re: Use pin P6 with the Wifi Shield

No, it must be used for the wifi module..
by iabdalkader
Thu Jan 21, 2021 12:06 pm
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 16
Views: 104

Re: Low Power with External Trigger

That's not my post and it's for the older camera not the H7+, actually the H7+ should be able to get to lower power or the same at least, since we fixed a missing pull up on the sensor power down.
by iabdalkader
Wed Jan 20, 2021 6:42 pm
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 16
Views: 104

Re: Low Power with External Trigger

Actually I realized QSPI wasn't disabled in low-power modes, after some fixes the board draws less than 10mA in deepsleep.. As for lightsleep, it still draws at least 30mA... However, I noticed if sensor.reset() is not called at all it gets down to 10mA.. so there must be some register that gets wri...
by iabdalkader
Wed Jan 20, 2021 5:12 pm
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 16
Views: 104

Re: Low Power with External Trigger

The lowest possible current is only achievable with the deepsleep example.
by iabdalkader
Wed Jan 20, 2021 11:10 am
Forum: Technical Discussion
Topic: Low Power with External Trigger
Replies: 16
Views: 104

Re: Low Power with External Trigger

I get ~10mA with the deepsleep example (machine.deepsleep()) with the latest firmware.
by iabdalkader
Thu Jan 14, 2021 11:11 am
Forum: Technical Discussion
Topic: Is it possible to format internal disk or remove boot.py in DFU mode?
Replies: 2
Views: 33

Re: Is it possible to format internal disk or remove boot.py in DFU mode?

There's no single answer that fits all, it depends on the flash FS that's used, on OpenMV boards without external SPI flash yes but only if you put the board in DFU manually, and then overwrite the filesystem page, on Portenta yes (the Arduino bootloader is DFU), on OpenMV boards with external SPI f...
by iabdalkader
Sun Jan 10, 2021 10:18 pm
Forum: Arduino Portenta H7
Topic: Using the Portenta's IMU with Micropython code
Replies: 7
Views: 141

Re: Using the Portenta's IMU with Micropython code

I was thinking of getting the adafruit lsm9ds1 https://learn.adafruit.com/adafruit-lsm9ds1-accelerometer-plus-gyro-plus-magnetometer-9-dof-breakout as it should work with the same code as the accelerometer examples for the Nano33BleSense. Anyone know if this accelerometer works with the PortentaH7?...
by iabdalkader
Fri Jan 08, 2021 10:05 am
Forum: Arduino Portenta H7
Topic: Using the Portenta's IMU with Micropython code
Replies: 7
Views: 141

Re: Using the Portenta's IMU with Micropython code

The Portenta H7 doesn't have any IMUs as far as I know.
by iabdalkader
Fri Jan 08, 2021 10:02 am
Forum: General Topics
Topic: Unable to flash h7 plus firmware
Replies: 2
Views: 73

Re: Unable to flash h7 plus firmware

Try removing the SD and erasing the internal flash fs (there's a checkbox when uploading the firmware) also you must never use a different board firmware for yours.
by iabdalkader
Mon Jan 04, 2021 7:13 pm
Forum: Technical Discussion
Topic: Can 2 cameras work with one board
Replies: 1
Views: 62

Re: Can 2 cameras work with one board

No that's not possible.
by iabdalkader
Mon Jan 04, 2021 4:40 pm
Forum: General Topics
Topic: H7 plus Saving images to SDRAM for post processing
Replies: 12
Views: 166

Re: H7 plus Saving images to SDRAM for post processing

I'll try to get a release out this month, but you should try to build and test this new feature so you can let us know if there's any issues.
by iabdalkader
Sat Jan 02, 2021 4:15 pm
Forum: General Topics
Topic: H7 plus Saving images to SDRAM for post processing
Replies: 12
Views: 166

Re: H7 plus Saving images to SDRAM for post processing

Hi I implemented something that does exactly what you want, we didn't have this before because memory was low. After this is merged you should be able to record frames to memory and play them back and use the frames with any image processing function:

https://github.com/openmv/openmv/pull/1084
by iabdalkader
Thu Dec 24, 2020 5:18 pm
Forum: Technical Discussion
Topic: Error on winc.c module when compiling sources
Replies: 9
Views: 268

Re: Error on winc.c module when compiling sources

Hi, we use gcc version 7.3.1 20180622 (7-2018-q2-update) you can get it from here:

https://armkeil.blob.core.windows.net/d ... ux.tar.bz2
by iabdalkader
Wed Dec 23, 2020 9:13 am
Forum: Technical Discussion
Topic: How to I program a specific firmware version?
Replies: 2
Views: 61

Re: How to I program a specific firmware version?

You just need to download the firmware zip from github releases and upload OPENMV*/firmware.bin for you camera, in this case it's OPENMV4. I don't think this feature will be added because we will have to include all the previous firmware releases and that will make the IDE much bigger, but feel free...
by iabdalkader
Thu Dec 17, 2020 5:16 pm
Forum: Technical Discussion
Topic: Defective Camera Image
Replies: 14
Views: 228

Re: Defective Camera Image

The bootloader times out how ? Can you post screenshots or a screen recording ? Also it might be worth trying on Linux, could be a Windows issue.
by iabdalkader
Thu Dec 17, 2020 10:34 am
Forum: Technical Discussion
Topic: Defective Camera Image
Replies: 14
Views: 228

Re: Defective Camera Image

I think you're uploading the wrong firmware.
by iabdalkader
Thu Dec 17, 2020 7:33 am
Forum: Technical Discussion
Topic: Defective Camera Image
Replies: 14
Views: 228

Re: Defective Camera Image

Hi, please try the latest firmware (3.8.0) first and then let us know if the issue is not fixed.
by iabdalkader
Wed Dec 16, 2020 6:35 pm
Forum: Technical Discussion
Topic: v3.8.0: Issue with Timer Input Capture
Replies: 4
Views: 121

Re: v3.8.0: Issue with Timer Input Capture

Thanks, I'll take a look. In the meantime, can you try setting the callback arg instead ?

Code: Select all

....
....
micropython.alloc_emergency_exception_buf(100);
tim_ch = tim.channel(2, pyb.Timer.IC, pin=ic_pin, polarity=pyb.Timer.BOTH, callback=tim_ic_isr);
....
by iabdalkader
Wed Dec 16, 2020 5:42 pm
Forum: Technical Discussion
Topic: v3.8.0: Issue with Timer Input Capture
Replies: 4
Views: 121

Re: v3.8.0: Issue with Timer Input Capture

Please report an issue on github, and make sure to fill the issue template.
by iabdalkader
Wed Dec 16, 2020 11:45 am
Forum: Technical Discussion
Topic: Custom firmware on OpenMV-H7
Replies: 3
Views: 133

Re: Custom firmware on OpenMV-H7

It's possible to flash any firmware with the IDE, but it will not work after that with the IDE and you will not be able to flash a new firmware (without resetting the board manually). We don't support any firmware other than ours and we can't help you with development questions you have to know what...
by iabdalkader
Wed Dec 16, 2020 9:32 am
Forum: Technical Discussion
Topic: Custom firmware on OpenMV-H7
Replies: 3
Views: 133

Re: Custom firmware on OpenMV-H7

Yes it's possible, the firmware should start at 0x08040000 and the bootloader will jump to it, you won't be able to load a new firmware without disconnecting/reconnecting the board.
by iabdalkader
Tue Dec 15, 2020 7:37 pm
Forum: Technical Discussion
Topic: How can RTC.wakeup() change global variables?
Replies: 3
Views: 119

Re: How can RTC.wakeup() change global variables?

Hi, there's no 3.9.6 firmware maybe you mean 3.6.9, in that case you should update to 3.8.0 the latest and then test again, if the issue is not fixed please report a bug on github with the smallest code that shows the issue.
by iabdalkader
Sat Dec 12, 2020 7:45 am
Forum: General Topics
Topic: Where can i find the uvc.bin file
Replies: 6
Views: 130

Re: Where can i find the uvc.bin file

OPENMV4.
by iabdalkader
Fri Dec 11, 2020 3:08 pm
Forum: Technical Discussion
Topic: side face recognition
Replies: 5
Views: 120

Re: side face recognition

people wearing masks or no masks from a side profile walking past an area that is properly lit with a plain wall background?
There's a model for front facing and H7+ only

https://github.com/SingTown/mask-tflite
by iabdalkader
Fri Dec 11, 2020 2:26 pm
Forum: General Topics
Topic: Frame buffer
Replies: 10
Views: 164

Re: Frame buffer

The microcontroller has an RTC, however there's no backup battery, so you'll need to keep power on all the time. The RTC still functions in low-power modes. There's no plan to implement recording in memory for now, but if it ever gets implemented it will only be possible on the H7+ with SDRAM. EDIT ...
by iabdalkader
Thu Dec 10, 2020 3:20 pm
Forum: General Topics
Topic: My own weed detection
Replies: 3
Views: 151

Re: My own weed detection

Actually I meant use EdgeImpulse to train a neural network, it can't train haar cascades, you can only do that with open-cv. If you already trained a cascade that works, just try to lower the threshold and/or increase the scaling step.
by iabdalkader
Wed Dec 09, 2020 1:40 pm
Forum: Technical Discussion
Topic: OSError: Arena size is too small for activation buffers when using Edge Impulse with H7 (non plus)
Replies: 11
Views: 190

Re: OSError: Arena size is too small for activation buffers when using Edge Impulse with H7 (non plus)

No, using smaller images ex 48x48, you don't have to retake photos I think the EI downscales the images.
by iabdalkader
Wed Dec 09, 2020 1:08 pm
Forum: Technical Discussion
Topic: OSError: Arena size is too small for activation buffers when using Edge Impulse with H7 (non plus)
Replies: 11
Views: 190

Re: OSError: Arena size is too small for activation buffers when using Edge Impulse with H7 (non plus)

> awsome thanks I'll adjust the sensor and retake the photos. You don't need to retain the network, just set the framesize to QQVGA (which is 160x120) so you should be able to scale down to 90x90, while saving some framebuffer RAM. Also retraining a smaller model or switching architecture should wor...
by iabdalkader
Wed Dec 09, 2020 1:02 pm
Forum: Arduino Portenta H7
Topic: Command line build and flash MicroPython Portenta H7
Replies: 12
Views: 257

Re: Command line build and flash MicroPython Portenta H7

I see, the M4 core is not used right now in our firmware, but we may support it in the future... You can probably run vanilla/upstream micropython along with Arduino firmware, I'm not sure you should ask in the Arduino forums.
by iabdalkader
Wed Dec 09, 2020 12:31 pm
Forum: Arduino Portenta H7
Topic: Command line build and flash MicroPython Portenta H7
Replies: 12
Views: 257

Re: Command line build and flash MicroPython Portenta H7

Wait what are you trying to do again :| ?
by iabdalkader
Wed Dec 09, 2020 11:29 am
Forum: General Topics
Topic: My own weed detection
Replies: 3
Views: 151

Re: My own weed detection

It's a lot easier to do classification with TF and EdgeImpulse and you'll get much better results. Please see the tutorials around just google openmv+edgeimpulse. Otherwise you should try tuning the threshold and scale factor, see the comments in the face detection example.
by iabdalkader
Wed Dec 09, 2020 11:24 am
Forum: General Topics
Topic: How to Disable the LED During Snapshot
Replies: 5
Views: 89

Re: How to Disable the LED During Snapshot

That indicates the flash cache is being flushed, there's no way to disable it right now it's hard-coded in micropython. If you use an SD it won't turn on any LEDs.
by iabdalkader
Wed Dec 09, 2020 8:49 am
Forum: Arduino Portenta H7
Topic: Command line build and flash MicroPython Portenta H7
Replies: 12
Views: 257

Re: Command line build and flash MicroPython Portenta H7

Does the command encompass the two core?
What do you mean?
by iabdalkader
Wed Dec 09, 2020 8:11 am
Forum: General Topics
Topic: Smartphone microscope
Replies: 1
Views: 63

Re: Smartphone microscope

Cool project! I don't see why not you may need to 3D print something to keep the cam in place but it should work.
by iabdalkader
Wed Dec 09, 2020 8:08 am
Forum: General Topics
Topic: Import error: No module
Replies: 1
Views: 60

Re: Import error: No module

Hi, not every module is available in micropython, please read the docs to see what you can import and how you can use it. This may be a good alternative, it's built-in you can just import it http://docs.micropython.org/en/latest/library/ubinascii.html Also this may or may not work, you need to downl...
by iabdalkader
Tue Dec 08, 2020 9:06 am
Forum: General Topics
Topic: Where can i find the uvc.bin file
Replies: 6
Views: 130

Re: Where can i find the uvc.bin file

In github releases, download the firmware.zip.
by iabdalkader
Tue Dec 08, 2020 9:05 am
Forum: General Topics
Topic: Strange memory behaviour
Replies: 1
Views: 65

Re: Strange memory behaviour

Yes, it gets collected when there's no free memory.
by iabdalkader
Mon Dec 07, 2020 9:24 pm
Forum: Arduino Portenta H7
Topic: Command line build and flash MicroPython Portenta H7
Replies: 12
Views: 257

Re: Command line build and flash MicroPython Portenta H7

Code: Select all

./dfu-util -a 0 -d 2341:035b --dfuse-address=0x08040000:leave -D build/bin/firmware.bin
You should use the dfu-util that comes with Arduino IDE.

Go to advanced search