Search found 1180 matches

by iabdalkader
Mon Jul 06, 2020 9:13 am
Forum: General Topics
Topic: Run with or without USB connected
Replies: 1
Views: 34

Re: Run with or without USB connected

Not much processing happens, the text get copied to a buffer if USB is connected, so you can leave the print statements. If you want check if USB is connected try:

Code: Select all

import pyb
usb = pyb.USB_VCP() 
if (usb.isconnected()):
   print("d")
by iabdalkader
Fri Jul 03, 2020 11:55 am
Forum: General Topics
Topic: How can I write a websocket server program on openmv?
Replies: 3
Views: 94

Re: How can I write a websocket server program on openmv?

kwagyeman wrote:
Fri Jul 03, 2020 11:50 am
Wait, what do you mean? We support TCP and we sockets are just data over TCP.
The MicroPython module/code that does that depends on lwip, that's why it's not enabled.
by iabdalkader
Fri Jul 03, 2020 10:27 am
Forum: General Topics
Topic: How can I write a websocket server program on openmv?
Replies: 3
Views: 94

Re: How can I write a websocket server program on openmv?

Hi, there's no builtin support for websockets because it requires LWIP which we can't use with WINC.
by iabdalkader
Thu Jul 02, 2020 9:16 am
Forum: Technical Discussion
Topic: Creating new module for OpenMV
Replies: 3
Views: 110

Re: Creating new module for OpenMV

No, it needs to be added to builtin modules in mpconfigport.h.
by iabdalkader
Sun Jun 14, 2020 11:50 am
Forum: General Topics
Topic: WIFI:Video transmission and command return
Replies: 5
Views: 287

Re: WIFI:Video transmission and command return

We have an RPC library that lets you connect to and control the cam, have a look here: https://github.com/openmv/openmv/blob/m ... /README.md
by iabdalkader
Sun Jun 14, 2020 8:50 am
Forum: General Topics
Topic: WIFI:Video transmission and command return
Replies: 5
Views: 287

Re: WIFI:Video transmission and command return

Why do you have to post this 3 times in all topics ?
by iabdalkader
Wed Jun 10, 2020 8:05 pm
Forum: General Topics
Topic: Global shutter module lines artefact?
Replies: 4
Views: 286

Re: Global shutter module lines artefact?

Your code is fine and you have the latest fw.. Try removing the sensor and attaching it again with the screws so it's making full contact.. Please note you should Not remove/attach the sensor with the cam plugged in, otherwise it could short something.
by iabdalkader
Wed Jun 10, 2020 8:03 pm
Forum: General Topics
Topic: Having issue with WiFi connectivity
Replies: 5
Views: 277

Re: Having issue with WiFi connectivity

The firmware file should be on SD card, please undo the changes to the path read the comments in the script.
by iabdalkader
Sun Jun 07, 2020 8:40 am
Forum: General Topics
Topic: Github sponsors as way to help fund
Replies: 4
Views: 2101

Re: Github sponsors as way to help fund

Hello,

You can sponsor us now on github:

https://github.com/sponsors/openmv
by iabdalkader
Fri Jun 05, 2020 8:08 am
Forum: General Topics
Topic: main.py
Replies: 1
Views: 154

Re: main.py

If main.py is not found the code waits for input from the user/IDE. If the FS is created on flash it creates the default main.py (blinking LED). The main.py is not created if SD is used. That's the default code if you want to change something you have to rebuild from source.
by iabdalkader
Mon Jun 01, 2020 8:27 pm
Forum: Technical Discussion
Topic: Using socket.setsockopt
Replies: 1
Views: 141

Re: Using socket.setsockopt

These are the possible values for the WINC1500. Note these constants are not exported to Python code so you have to use numeric values if you really have to use them: // Socket option. // Used with the @ref setsockopt function #define SOL_SOCKET 1 // SSL Socket option level. // Used with the @ref se...
by iabdalkader
Tue May 26, 2020 1:38 pm
Forum: Technical Discussion
Topic: Error when building the firmware with CubeAI
Replies: 6
Views: 404

Re: Error when building the firmware with CubeAI

Please report a bug on guithub and I'll fix it.
by iabdalkader
Fri May 22, 2020 1:03 pm
Forum: General Topics
Topic: SD card not recognized
Replies: 7
Views: 484

Re: SD card not recognized

For example, the docs are crystal clear that nothing above 32GB The docs are wrong/outdated, higher capacity SD cards have been supported for years. but the response is...fuzzy I use Samsung EVO/U3 32GB and 64GB and they both work fine. My reply can't be more specific. EDIT: I see you want me to te...
by iabdalkader
Fri May 22, 2020 8:31 am
Forum: Technical Discussion
Topic: H7 image "blown out" by IR LEDs
Replies: 5
Views: 361

Re: H7 image "blown out" by IR LEDs

I appreciate you theorizing as the problem, but are you saying I have discovered this issue a year after the H7's release and there is next to no discussion about it on the boards? I can't be the first person to run up against this. How do you deal with this exact same issue on your own H7s, of whi...
by iabdalkader
Fri May 22, 2020 7:50 am
Forum: General Topics
Topic: SD card not recognized
Replies: 7
Views: 484

Re: SD card not recognized

Do you know that class 10 cards work or do you recommend a different class perhaps? What class 32GB cards do you have at your disposal for testing?
Class 10 is not the fastest, UHS/U3 is the fastest. I use Samsung EVO/U3 32GB and 64GB and they both work fine. Try formatting the card with exFAT.
by iabdalkader
Mon May 18, 2020 11:55 am
Forum: Technical Discussion
Topic: Is the I2C for MLX90640 thermal sensor software/bit-bashed?
Replies: 2
Views: 877

Re: Is the I2C for MLX90640 thermal sensor software/bit-bashed?

Hi, I've updated all the FIR I2C code, the older MLX sensor still uses soft-i2c but the other two sensors (AMG and MLX90640) are now using HW I2C. And I've also enabled FM+ for the MLX90640 to allow the fastest I2C freq possible. Note the MLX90640 driver got an update from MLX upstream, the update i...
by iabdalkader
Mon May 18, 2020 11:48 am
Forum: Technical Discussion
Topic: WIFI Shield DMA support
Replies: 2
Views: 210

Re: WIFI Shield DMA support

The WiFi performance has been improved since 3.6.2, if you have an older firmware please update first.
by iabdalkader
Fri May 15, 2020 11:20 am
Forum: Technical Discussion
Topic: OpenMV M7 not loading ts person recognition
Replies: 6
Views: 741

Re: OpenMV M7 not loading ts person recognition

ArneLegrand wrote:
Fri May 15, 2020 9:10 am
That would be great! OMV3/F7 is this the same is the M7?

Yes
by iabdalkader
Fri May 15, 2020 8:56 am
Forum: Technical Discussion
Topic: OpenMV M7 not loading ts person recognition
Replies: 6
Views: 741

Re: OpenMV M7 not loading ts person recognition

Hi, the tensorflow library was disabled on OMV3/F7 because it didn't fit the flash/ram at that point, with the latest update the library is much smaller now and I think I can re-enable it on OMV3/F7.
by iabdalkader
Tue May 12, 2020 9:23 am
Forum: Technical Discussion
Topic: wifi communication
Replies: 2
Views: 332

Re: wifi communication

No you need the WiFi shield.
by iabdalkader
Mon May 11, 2020 9:02 am
Forum: Technical Discussion
Topic: I2C Bus communication error - missing ACK
Replies: 8
Views: 1099

Re: I2C Bus communication error - missing ACK

Hi, I've updated and fixed all the I2C code, and tested AMG8833, MLX90621 and MLX90640 on OMV3, OMV4 and OMV4P... and they're all working fine. The attached firmware image should fix any issues with AMG8833 please try it and let me know.
by iabdalkader
Fri May 08, 2020 7:44 am
Forum: Technical Discussion
Topic: I2C Bus communication error - missing ACK
Replies: 8
Views: 1099

Re: I2C Bus communication error - missing ACK

I still don't know what camera you're using but anyway, we're going to update and fix the I2C code used for FIR sensors very soon, so this issue should be fixed soon.
by iabdalkader
Thu May 07, 2020 9:48 am
Forum: Technical Discussion
Topic: Latest Firmware v3.6.1 messes up OpenMV Cam H7 pro
Replies: 4
Views: 1636

Re: Latest Firmware v3.6.1 messes up OpenMV Cam H7 pro

Hi, thanks a lot for all the hard work guys, OpenMV is made of sweat, love and awesomeness. 1. Is there any word on when is the new firm released, it is almost 2 weeks since the splotch accident? 2. Is it possible to download the one that was briefly up, I'm working on hi-res and I would like to te...
by iabdalkader
Wed May 06, 2020 9:34 pm
Forum: Technical Discussion
Topic: I2C Bus communication error - missing ACK
Replies: 8
Views: 1099

Re: I2C Bus communication error - missing ACK

Could be a wiring issue, please double check the connections (try different/shorter wires)...Do you have the H7 or H7-plus ? And are you using the Sparkfun breakout board ? If not you may need to add pull-ups to the SCl/SDA lines. Also please post the code.
by iabdalkader
Wed May 06, 2020 11:29 am
Forum: Technical Discussion
Topic: I2C Bus communication error - missing ACK
Replies: 8
Views: 1099

Re: I2C Bus communication error - missing ACK

This issue has been fixed in the latest firmware (3.6.2)
by iabdalkader
Fri May 01, 2020 3:15 pm
Forum: Technical Discussion
Topic: "Missing ACK" Error with AMG8833 & H7 Plus
Replies: 3
Views: 1001

Re: "Missing ACK" Error with AMG8833 & H7 Plus

Hi, I've found a bug in the software I2C on the H7, I'll fix it and this fix will be in the next release (which will be out in a few days.)
by iabdalkader
Sat Apr 25, 2020 1:31 pm
Forum: Technical Discussion
Topic: Global Shutter LED Out
Replies: 12
Views: 1662

Re: Global Shutter LED Out

You would configure it as ExtInt but this pin doesn't have an alias like (P0, P1 etc...) so it's not accessible from pyb.
by iabdalkader
Fri Apr 24, 2020 7:14 pm
Forum: Technical Discussion
Topic: how to send image to server by post to http?
Replies: 27
Views: 10759

Re: how to send image to server by post to http?

I'm trying to send images coninuously to a php by http POST and after two times, three four the camera reboot or disconnect. Not all the time in the same line nor in the same snapshot. I have tried many things. Here is the last code attached. Could be a memory issue that I have to manage? It is a p...
by iabdalkader
Fri Apr 24, 2020 6:59 pm
Forum: Technical Discussion
Topic: code speed
Replies: 1
Views: 740

Re: code speed

Hi, I have a lot of PRINT statements in my script. They slow down my execute speed in the IDE. Do the PRINT statements also slow down the execute speed when I run the script without the IDE. (I.E on batteries.) If they do slow the execute speed, can I delete them with a blanket command, or do I nee...
by iabdalkader
Fri Apr 24, 2020 8:28 am
Forum: Technical Discussion
Topic: pipe delay
Replies: 1
Views: 749

Re: pipe delay

It seems it takes 2 or 3 frames, there's an entire section about it in the datasheet (Changes to Integration Time)
by iabdalkader
Sat Apr 18, 2020 8:29 pm
Forum: Technical Discussion
Topic: Why my model .network work not good?
Replies: 5
Views: 941

Re: Why my model .network work not good?

I tested lenet.network, as you can see it's working fine (Note: I had to lower the threshold for these numbers)
Screenshot from 2020-04-19 02-29-13.png
by iabdalkader
Sat Apr 18, 2020 8:10 pm
Forum: Technical Discussion
Topic: Why my model .network work not good?
Replies: 5
Views: 941

Re: Why my model .network work not good?

I don't know what could be wrong with your network, but the lenet.network example should work fine. Maybe it's your hand writing ? Try it on printed digits.
by iabdalkader
Sat Apr 18, 2020 6:46 pm
Forum: Technical Discussion
Topic: Why my model .network work not good?
Replies: 5
Views: 941

Re: Why my model .network work not good?

Maybe it's overfitted, you need more training images. The smile network is trained on 18,000 images.
by iabdalkader
Sun Apr 12, 2020 7:42 am
Forum: Technical Discussion
Topic: Updating WIFI shield
Replies: 3
Views: 814

Re: Updating WIFI shield

You need to copy the file again, safe eject and then reset. There's another way to update using the debugging header on the wifi shield a power supply and Arduino (google WINC1500 firmware update) it's much more harder to update the firmware this way.
by iabdalkader
Sat Apr 11, 2020 8:45 pm
Forum: Technical Discussion
Topic: Updating WIFI shield
Replies: 3
Views: 814

Re: Updating WIFI shield

Hi, please make sure the file is written, try safe remove/eject the drive before resetting the cam.
by iabdalkader
Sat Apr 11, 2020 4:44 pm
Forum: Technical Discussion
Topic: QUESTION ABOUT FIR(AMG8833) CONNECTION
Replies: 3
Views: 1513

Re: QUESTION ABOUT FIR(AMG8833) CONNECTION

Hi I tested the AMG sensor again today with OMV3 and OMV4, and it's working fine, if there's no driver bug there's not much else I can do for you. You can try to run an I2C scan and see if the sensor is detected, if it's not detected (code gets stuck) it's either the wiring or maybe the sensor is br...
by iabdalkader
Wed Apr 08, 2020 7:41 am
Forum: Technical Discussion
Topic: Build OpenMV from source ,but...
Replies: 5
Views: 958

Re: Build OpenMV from source ,but...

you need to build the mpy cross compiler, cd micropython/my-cross and run make.
by iabdalkader
Thu Apr 02, 2020 3:32 pm
Forum: General Topics
Topic: hardware capabilities
Replies: 1
Views: 714

Re: hardware capabilities

I would like to know if the board is capable to be attached to a flir sensor, a display and to another shield with wirelles capabilities Yes we have a FLIR Lepton adapter that allows you to use any of the Lepton modules with the OpenMV-H7 and OpenMV-H7+ cameras: https://openmv.io/collections/cams/p...
by iabdalkader
Thu Mar 26, 2020 8:12 pm
Forum: Technical Discussion
Topic: Something like chkdsk for SdCard in python ?
Replies: 5
Views: 1001

Re: Something like chkdsk for SdCard in python ?

Maybe you can find an external compression module/library here:
https://github.com/micropython/micropython-lib

It won't be fast, but it should work.
by iabdalkader
Wed Mar 25, 2020 12:51 pm
Forum: Technical Discussion
Topic: Something like chkdsk for SdCard in python ?
Replies: 5
Views: 1001

Re: Something like chkdsk for SdCard in python ?

Hi, we're okay thanks for asking...

No, MicroPython doesn't format or repair the SD card. Only the flash is managed.
by iabdalkader
Sat Mar 21, 2020 3:52 pm
Forum: General Topics
Topic: Multicolor Blob Codes
Replies: 1
Views: 1053

Re: Multicolor Blob Codes

by iabdalkader
Sat Mar 21, 2020 3:51 pm
Forum: Technical Discussion
Topic: Record Video on Person Detection?
Replies: 1
Views: 955

Re: Record Video on Person Detection?

You can do both at the same time, but the video FPS will be limited by the person detection FPS. Note with the last TF update, the person detection is slightly faster (still under 10FPS though), I'll make a new release soon.
by iabdalkader
Fri Mar 20, 2020 6:35 am
Forum: Technical Discussion
Topic: UART automatic baud rate detection
Replies: 4
Views: 1304

Re: UART automatic baud rate detection

We use MicroPython's drivers, you need to edit MicroPython UART driver.
by iabdalkader
Fri Mar 20, 2020 6:34 am
Forum: Technical Discussion
Topic: Connect another CMOS global shutter matrix to OpenMV H7
Replies: 6
Views: 1579

Re: Connect another CMOS global shutter matrix to OpenMV H7

Thank you iabdalkader for ur answer, I have two additional questions: 1. What is a meaning of pins: RSVD1...RSVD5 - for what is each of them responsible for? (base.sh from: open MV Cam H7 Base Schematic) 2. I don't know if ur confirmation is also related to "If I do I would need to make changes in ...
by iabdalkader
Thu Mar 19, 2020 8:20 pm
Forum: General Topics
Topic: some questions: snapshot (). save filename & RTC
Replies: 1
Views: 1146

Re: some questions: snapshot (). save filename & RTC

Please search the forums for RTC topics, you'll find many examples on how to initialize and use the RTC, there's even a script saving images with timestamps (and an example in the IDE and docs). However, note you need to set the RTC time on each power up and keep the power connected otherwise the RT...
by iabdalkader
Thu Mar 19, 2020 1:27 pm
Forum: General Topics
Topic: how use python code read video, not use openide
Replies: 7
Views: 2426

Re: how use python code read video, not use openide

There seems to be an issue with UVC firmware and macOS I can not get it to connect to camera in opencv. I have confirmed OPENMV4 is working as UVC device as it shows up in system profiler under cameras as OpenMV Virtual Comm Port in FS Mode #2: Model ID: UVC Camera VendorID_4617 ProductID_43985 Uni...
by iabdalkader
Thu Mar 19, 2020 11:36 am
Forum: Technical Discussion
Topic: Connect another CMOS global shutter matrix to OpenMV H7
Replies: 6
Views: 1579

Re: Connect another CMOS global shutter matrix to OpenMV H7

Yes it's possible, you can design your own sensor module based on ours. The hardware and software are opensource you can find them on github.
by iabdalkader
Thu Mar 19, 2020 10:59 am
Forum: Technical Discussion
Topic: QUESTION ABOUT FIR(AMG8833) CONNECTION
Replies: 3
Views: 1513

Re: QUESTION ABOUT FIR(AMG8833) CONNECTION

Please double check the wiring, make sure gnd and 3.3v are connected, and SCL, SDA are not switched. The AMG was tested recently and the driver code is working.
by iabdalkader
Tue Mar 17, 2020 11:27 am
Forum: Technical Discussion
Topic: Can't use Tensorflow-Lite for OpenMV
Replies: 49
Views: 6207

Re: Can't use Tensorflow-Lite for OpenMV

This just means that your model uses an operator that's not support by TF lite port for microcontrollers. You need to replace that operator, see the list of supported ops here: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/kernels/all_ops_resolver.cc#L21 Please keep in m...

Go to advanced search