Search found 10 matches

by Kahroba
Mon Aug 17, 2020 5:41 pm
Forum: Kickstarter Topics
Topic: Training a customized object detection algorithm for opemMV
Replies: 1
Views: 364

Training a customized object detection algorithm for opemMV

Hello.
I am trying to train a customised object detection algorithm for OpenMV.
I am wondering is there any tutorial or link to help me to do so?
Is it even possible?
Any help is highly appreciated
by Kahroba
Sat Jan 25, 2020 11:11 am
Forum: Technical Discussion
Topic: length of transferred data through UART
Replies: 5
Views: 1182

Re: length of transferred data through UART

Sorry, I thought I replied to this post a while back. Um, your NodeMCU code is not enough to do what I think needs to be done to receive the image. Can you comment out the part in the OpenMV Cam code where you send anything but the size and then edit the Arduino code to receive the size? The code y...
by Kahroba
Tue Jan 21, 2020 7:26 am
Forum: Technical Discussion
Topic: length of transferred data through UART
Replies: 5
Views: 1182

Re: length of transferred data through UART

Do: uart = UART(3, 500000) uart.init(500000, bits=8 , parity=None , stop=1, timeout_char=1000) The UART stops sending once it timeouts normally. This is the default MicroPython behavior that we inherit. Thanks for the reply, but no success yet. I have tried timeout with different values but it stil...
by Kahroba
Mon Jan 20, 2020 6:28 am
Forum: Technical Discussion
Topic: length of transferred data through UART
Replies: 5
Views: 1182

length of transferred data through UART

Hello Sorry, I could not find similar topic for my problem, so create a new one. I am trying to transfer an image from Camera to NodeMCU but the lenght of the received data is not as same as the size of the image I get from : ax.size(); the code in OpenMV IDE is: import time from pyb import UART uar...
by Kahroba
Sun Jan 19, 2020 2:02 pm
Forum: Technical Discussion
Topic: Unpacking data in arduino
Replies: 5
Views: 1023

Re: Unpacking data in arduino

The Arduino Uno has not memory onboard really so if you are using that you lost likely won't be able to do much. If you are using an arm based one you might be able to handle an image size. Mmm... Nodemcu is the esp32 right? That has plenty of ram. Anyway, if you sent the length of the image to the...
by Kahroba
Sun Jan 19, 2020 7:15 am
Forum: Technical Discussion
Topic: Unpacking data in arduino
Replies: 5
Views: 1023

Re: Unpacking data in arduino

You just treat the 4 bytes as an int. int x = 0; x |= byte3 << 24; x |= byte2 << 16; x |= byte1 << 8; x |= byte0 << 0; x now has the value in in. Please read this: https://www.cs.cmu.edu/afs/cs/academic/class/15213-s09/www/lectures/02-bits-kesden.pdf Both processors are little endian. https://www.t...
by Kahroba
Sat Jan 18, 2020 6:43 am
Forum: Technical Discussion
Topic: Unpacking data in arduino
Replies: 5
Views: 1023

Unpacking data in arduino

Hello, I have been working on streaming data from OpenMv to NodeMcu. I did manage to establish a protocol between OpenMv and Nodemcu to send a request from NodeMCU to OpenMv in order to start sending data. But the data will be started with 4 packed bytes, representing the size of the image. Is there...
by Kahroba
Sat Dec 28, 2019 7:56 am
Forum: Technical Discussion
Topic: Streaming videos from OpenMV to nodeMCU
Replies: 5
Views: 1021

Re: Streaming videos from OpenMV to nodeMCU

Thanks for the response.
I am wondering is there any arduino library to decode received bytes ? Does OpenMV has any Arduino library to get connected to it?
I understand that, the image is coded in RGB565 format, but I still do not know how to decode and reconstruct received bytes in the controller.
by Kahroba
Fri Dec 27, 2019 5:23 pm
Forum: Technical Discussion
Topic: Streaming videos from OpenMV to nodeMCU
Replies: 5
Views: 1021

Re: Streaming videos from OpenMV to nodeMCU

Thanks for the response. Actually my ultimate goal is to make a wireless camera!.So I am trying to send the images by a high FPS rate to NodeMcu and reconstruct the image in NodeMcu and plot it in a web server. Not sure if the way I am going to make a wireless camera is the best possible solution or...
by Kahroba
Fri Dec 27, 2019 1:42 pm
Forum: Technical Discussion
Topic: Streaming videos from OpenMV to nodeMCU
Replies: 5
Views: 1021

Streaming videos from OpenMV to nodeMCU

Hello, I am working on a project and the idea is streaming video from OpenMV to NodeMCU in order to show them in a webserver or something similar. I did manage to establish the UART connection between OpenMv and NodeMCU to transfer the size of image, but I didn't find any arduino library for reading...

Go to advanced search