I am new to Node-Red. I am trying to build a flow that reads an image captured using Arduino Nano BLE 33 Sense. Then the image sent to (node-red-contrib-tfjs-coco-ssd) for object detection. The issue is that the captured image from Arduino is in Hex code, not image file (jpg, png). I need a way to capture an image using OV7675 camera module attached to the Arduino then run object detection on that image. any ideas? The attached flow the first one is the one I want it to run but it is missing something. The second one is to read image serial data from Arduino and run Python code to convert it to an image. I need to connect the two flows but it didn't work. Or find another way to read the image from Arduino.
Sorry..Here is the flow as I test it (all connected)
I used Harvard codes for TinyML course in edx to capture the image in Arduino and convert it to image using python code.
The process I supplied can work with any IP camera, when using the correct URL. I have used HikVision, Amcrest & ESP32 My Foscam is used elsewhere, but it would have worked just the same
And it does save the captured images as .JPG so you probably only need part of what I sent, starting with the node labeled Grab Image
One thing to note... I run my Node-Red on a RPi, so that is where the images are saved.
Thanks a lot..
I tested it with ESP32 Cam using http request node. It worked.
If it is not an IP camera, what are the possible solutions to upload an image from the file system?
Ummm... none? Note sure how you define a non-IP camera... I call them analog, proprietary cloud serviced or standalone memory card, etc. Generally none of those are properly compatible, if not impossible, for real-time uploading.
If you are referring to USB webcams, then that should be OK as long as they are plugged into the RPi, for image capture, or use other 3rd party software to "make" them IP compatible (YAWCAM for windows, not sure of others) and there are various apps for phone/tablet cameras to make them into "IP cams".