node-red-contrib-image-tools
node-red-contrib-image-tools copied to clipboard
Looking for help importing image from IP camera
This isn't a bug report but a request for any help or advice from the much more knowledgeable people here
I'm trying to import a picture from a still image request from a Hikvision IP camera and pass it to a license plate recognition flow.
The request to the camera is as follows. http://192.168.1.101/ISAPI/Streaming/channels/101/picture (this works with and without authorisation) This request successfully returns an image in the browser
However when I try to call this from the 'Image Node' I get the following Debug error ;
"Error: HTTP Status 401 for url http://192.168.1.101/ISAPI/Streaming/channels/101/picture"
The same error is received whether or not I include the user/password details to the http request.
Trying the same call with a "HTTP Request"node and it does output a buffer, however trying to send that payload to the viewer gives me the following error:
"Error: Could not find MIME for Buffer <null>"
I'm not a programmer, so my knowledge is limited, and I cant understand why the image cannot be accessed..
I've spent hours on this before having to resign myself to ask for help, I'd be grateful for any insight on this.
thanks