Not really an answer to your 26 error, but since you want to have license plate recognition using the OpenAlpr cloud solution you might try my node-red-contrib-openalpr-cloud node...
Must admit that it has been a long time ago that I developed that node - when I was young, pretty and adored by all woman on this planet - so perhaps it is not up to date anymore. But be my guest!
Hi Bart, Thanks for your reply. I have looked at your Git Hub repository and loaded it onto my Pi. However when I log onto my Node Red I do not see the flow. I know I have done something wrong but cant figure our what.
Wrong directory. When you run node-red for the first time it will make a folder .node-red (with a leading dot and no capitals). You can install the node in that folder then restart node red, or you should be able to install it using Mange Pallet in the node red editor.
What do you see in the node red log when you start node-red? To see that, in a terminal run
node-red-stop
node-red-start
You can copy out of the terminal using Ctrl-Shift-C
When you past it here put a line containing three backtick characters before it and another such line after it, that will stop the forum from messing with the layout.
Looks like you have finally received a valid jpeg image buffer.
If you see at this link you will see what I mean. Summarized this is how the different image types start:
var bmp = Encoding.ASCII.GetBytes("BM"); // BMP
var gif = Encoding.ASCII.GetBytes("GIF"); // GIF
var png = new byte[] { 137, 80, 78, 71 }; // PNG
var tiff = new byte[] { 73, 73, 42 }; // TIFF
var tiff2 = new byte[] { 77, 77, 42 }; // TIFF
var jpeg = new byte[] { 255, 216, 255, 224 }; // jpeg
var jpeg2 = new byte[] { 255, 216, 255, 225 }; // jpeg canon