dceejay / tfjs-coco-ssd

Node-RED node for tensorflowjs coco ssd
Apache License 2.0
14 stars 10 forks source link

Reading file isn't working #6

Closed crxporter closed 4 years ago

crxporter commented 4 years ago

I'm trying to use my pi to read a local file located at /home/pi/crop.jpg but I'm not getting any output. No error that it can't find the file - but no output.

I can read the file with a file in node which is sent as a buffer object into tensorflow node but I can't use the tensorflow node to read the image itself.

Things work great with http images and image buffers. I'm trying to save a cropped image from a security camera then run the object detection against the cropped image.

Great contrib! It is much more accurate than I would have expected from something that runs so quickly on a pi.

crxporter commented 4 years ago

I've got this all sorted out. My previous attempt at cropping...