Search found 6 matches

by Jhc999
Thu Nov 26, 2020 5:16 am
Forum: Technical Discussion
Topic: Bytearrays not sent consistently over socket
Replies: 2
Views: 66

Re: Bytearrays not sent consistently over socket

Just did another run, this time it sent the 8000 bytes in 3 messages of lengths 2400, 1400, 3800. Not sure what's going on...
by Jhc999
Thu Nov 26, 2020 5:14 am
Forum: Technical Discussion
Topic: Bytearrays not sent consistently over socket
Replies: 2
Views: 66

Bytearrays not sent consistently over socket

I'm trying to send 8000 bytes from the OpenMV to my PC using sockets with the wifi shield. However, the OpenMV is not sending the message consistently. s = usocket.socket(usocket.AF_INET, usocket.SOCK_STREAM) s.connect((HOST, PORT)) s.settimeout(2.0) data = bytearray(os.urandom(8000) s.write(send) O...
by Jhc999
Mon Nov 09, 2020 10:22 pm
Forum: General Topics
Topic: Sensor snapshot takes 0.02s, can't achieve >50 FPS
Replies: 1
Views: 51

Sensor snapshot takes 0.02s, can't achieve >50 FPS

This blog post suggests a default FPS of 75-150 FPS (https://openmv.io/blogs/news/more-speed). I've edited the helloworld code to time the sensor snapshot. The frame buffer on the IDE was disabled, and I have the latest firmware on my OpenMV H7 Plus (version 3.6.8). import sensor, image, time, utime...
by Jhc999
Fri Nov 06, 2020 5:13 pm
Forum: Project Discussion
Topic: Wifi Streaming of RGB565 Images
Replies: 6
Views: 211

Re: Wifi Streaming of RGB565 Images

The project is contactless vital signs monitoring inside a hospital. The current literature provides methods for calculating heart rate, respiratory rate, etc. but it requires uncompressed RGB pixels over 10 seconds to make accurate calculations. If possible, the stream needs to be with full RGB ima...
by Jhc999
Fri Nov 06, 2020 5:01 pm
Forum: Project Discussion
Topic: Wifi Streaming of RGB565 Images
Replies: 6
Views: 211

Re: Wifi Streaming of RGB565 Images

The Python struct module is probably a more efficient way of packing and unpacking the byte data. However, my main problem is decoding the RGB565 image after it is unpacked. I'm unable to convert it back to an RGB image on my PC.
by Jhc999
Fri Nov 06, 2020 4:46 pm
Forum: Project Discussion
Topic: Wifi Streaming of RGB565 Images
Replies: 6
Views: 211

Wifi Streaming of RGB565 Images

For my project, I need to stream RGB565 images (160x120, QQVGA) using the wifi shield. I've looked at the mjpegstreamer and rtsp_video_server examples. I've also looked at the mqtt and http examples. However, my project requires uncompressed RGB565 images. I've written client/socket code for the Ope...

Go to advanced search