Also let me just add that you truncate the file, you should use "a" mode: The argument mode points to a string beginning with one of the following sequences (Additional characters may follow these sequences.): ``r'' Open text file for reading. The stream is positioned at the beginning of the file. `...

Hi,the MJPEG example is based on http,but my server address is based on https. when i use the function:usocket.getaddrinfo(),it can't parse url correctly,there was an error in the OpenMV IDE,Oserror -1. My URL is https://aip.baidubce.com/rest/2.0/image ... 5-15254242 I thought it just related to Ht...

Hello, - I notice that there's pyb.stop and sensor.sleep. If I only do pyb.stop, then does that leave the camera on with the ability to process images still? If so, using Frame Differencing, can I wake up the hardware from pyb.stop when an object is detected? Or, is the wakeup strictly with an exte...

Is there a straightforward way to write text onto the image in landscape orientation? I see no parameters to Image.draw_string() that would do this out of the box. Alternatively, is there correspondingly simple way to rotate an image (one could rotate, write text, then rotate back in order to maint...

Hello sir, I have tried, but we can't draw after compression.. You draw after compression, so you send the image before drawing, you should draw *before* compression. It's not that hard really, just do this: for r in objects: img.draw_rectangle(r) cframe = img.compressed(quality=35)

Actually I am trying to view the detected faces over wifi. But, unsuccessful.. I am not being able to send the faces through the socket.. The video is being transmitted, but face detection is not.. I have tried by changing the socket to a Tcp socket. But, I am not getting the idea that how to send ...

hai sir i need your help for doing template matching and when the template is matched pin1 want to on, by using that i will control my process. can u give the code for the same. Thanks in advance Regards Prasath Hi, here's an example for pin control: import sensor, image from image import SEARCH_EX...

You are right the connexion is not lost but it is not possible to disconnect without unplugging the usb cable. It is like the camera is too busy to answer. Limited the quality at 90 maximum will solve the problem... It's probably the try/except catches the IDE interrupt. Try this: try: .... except ...

How is the use of P8 different from P0 with the LCD shield? It is documented as "SPI commands". What sort of commands are issued via P8 as opposed to simply being sent as SPI data over P0 (MOSI)? Thanks. It should be "command", this pin is low for command and high for data. It's just how the LCD dr...

Hi all, My solution needs to be enclosed in an RVS metal casing. I fear the WIFI signal will be lost, since the shield has no external antenna connector.. Can you alter the wifi shield to connect it an external antenna ? Something like this (attached) ? Hi, there's another WINC1500 that comes with ...

Hi, yes the FB stops working when the VGA image is compressed at high quality (when there's no exception), I think this normal because the memory is full and the compression for the IDE preview fails, but the camera doesn't disconnect. That's what I saw in my testing. Is there any other problem ? Al...

But the results are always : First layer is NULL! Looks like the file may be corrupted or you didn't download the file from github. You have to download the raw file: https://raw.githubusercontent.com/openmv/openmv/master/ml/cmsisnn/models/cifar10_fast/cifar10_fast.network Also make sure the file i...

Hello,
is there a very simple solution to send the image of the camera to an external monitor? Do I need to run an external python script or is it possible to send a stream directly from the OpenMV IDE?
Thank you.
Luis

what will the polarizer filter do? As I understand it, it attenuates a certain wavelength so you can use it in direct sunlight, it's like sun glasses. See the comparison photos in the product description: https://openmv.io/collections/products/products/polarizing-filter I don't think that's what yo...

Hi Patrick 1) Do you think it's possible create a NN on Windows? Yes, if you can setup Caffe on Windows you should be able to produce the same results. However I would just use Ubuntu (things just work on Linux) 2) Should I create the .network file before on a Jupiter notebook and then load it into ...

Hello, I am new to openmv. I am interested to test nn with openmv. The first thing I try to do is download the smile.network, but I can not copy this network into the disk. When I connect the openmv cam to the windows pc, it is showing "0 Byte free of 79.0K byte". Regards, Baozhu Hi, use an SD card.

Is there a reason you used the STM32 micro controller instead of a microprocessor with image processing DSP libraries such as TMS320 C55. The microprocessors do not seem to be more expensive than the micro controller and can also do the computations such as JPEG compression much faster. Mainly desi...

Actually with the clock disabled UART won't generate the interrupt (I think this should work on the H7 with LPUART). You could either use an external GPIO as EXTI (a different pin other than UART pins), or use pyb.wfi(). pyb.wfi will be interrupted by UART or SYSTICK.

It should wake up on any interrupt (including RXNE) you don't need to configure UART pins as EXTI. Please remove that and all the comments and RTC code and try it again. Also I don't understand this part: "i dont get the full uart rx if i stop the cpu." ?

MicroPython's PLL settings are not used and system_stm32.c is not used either. We use our own system file and PLL dividers, you can find out which files are used from the Makefile(s). Note you need to make sure the sensor frequency is 9MHz (or change the sensor's PLL settings to match XCLK). I tried...

When STM32 enter deep sleep. Most of IO changed to high impedance state. So OV7725 PWDN pin cannot retain high level(shutdown state). So external pull up resistor is needed. Not internal pull down. I think there's a mode that retains I/O state, anyway we could revise it for the next production run....

I found that there is no pull resistor on OV7725 PWDN pin. I see 500uA by adding 4.7K Ohm pull up on OV7725 PWDN ( PCB pattern is covered. so need to scratch off printed ink ) If i replace LDO regulator to high efficient SMPS. I see 10uA with RTC on by calling machine.deepsleep() What a great MCU S...

I would like to power the openMV module via external power from a battery source (3.6V) if possible. Looking at the schematic there are 2 diodes at D1 for reverse polarity protection. Is there a way to bypass the USB power line VBUS in order to use an external power source into Vin? Those are ORing...

Hi Can someone assist me for building an application/GUI to read video streaming and serial Data from OpenMV cam? Hi, you can start with this Python module: https://github.com/openmv/openmv/blob/master/tools/pyopenmv.py It implements the camera's debugging protocol, same used by the IDE. Here's an ...

Hi, So after we have programmed a new project and verified the functionality of the camera in micropython in the openMV IDE, Is there any way that we can access the lower level C/C++ code for further optimisation/tunability? Thanks! Adriel Yes, the project is open-source: https://github.com/openmv/...

By disabling all these,can i get the same amount of light even when the openmv moves?I explain my scenario. I want to detect lemon fruit in the plant in outdoor by making the scanning using movement of openmv cam on a slide. Can disabling helps me out? Yes, but you should let them run for a while t...

Hello, I try to optimize the consumption, and i would like to start the camera at 120Mhz. Before compiling, i changed in /openmv/src/cmsis/src/st/system_stm32fxxx.c #elif defined (STM32F765xx) // 120MHz/48Mhz in place of 216MHz/48MHz : flash_latency = FLASH_LATENCY_3; // FLASH_LATENCY_7; RCC_OscIni...