Car Plate Recognition System with Raspberry Pi and Node-RED

Hi, I am trying to get a "Car Plate Recognition System with Raspberry Pi and Node-RED" ( ) running but keep getting an error message - error 26 on the cURL POST module when a take a picture.

Does anyone know what error 26 means and suggest a possible solution.



Have you Googled the error?

1 Like

Yes tried that with no success.


Wait, you googled 'curl post err 26' and didn't get any hits? Are you using a different google than I am?


Hi Peter,

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 :heart_eyes: - so perhaps it is not up to date anymore. But be my guest!

Good luck with it !

1 Like

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.

Here is what I did;

Loaded 2018-06-27-raspian-stretch-lite onto my pi
ran update and upgrade
ran bash <(curl -sL
Then made a directory called Node-Red and changed to this directory
The ran npm install node-red-contrib-openalpr-cloud
Then ran cd to home and ran sudo systemctl enable nodered.service
then sudo reboot

Any suggestions gratefully received.


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.

Thanks Colin,

I have followed your advise, but still cannot see the flow in my node red.


Looking in the "flows" directory, there are no flows, the directory is empty

What do you see in the node red log when you start node-red? To see that, in a terminal run


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.

unfortunately, when I try to past the output I get - Sorry, new users can only put 2 links in a post.


Start a new thread and paste it there.

Ok, I have made some progress. However two nodes are causing a problem - * base64

  • jsonpath with the error message - Flows stopped due to missing node types.

Scratching of head continues.


Look at the information that node-RED prints to the log on startup.

That should identify the nodes you are missing

Ok so now the nodes are installed but the following error messages are being produced

msg.payload : buffer[66864]
[ 255, 216, 255, 224, 0, 16, 74, 70, 73, 70 … ]


What makes you think that is an error message?

Why not help yourself,
You might come faster to the solution if you publish your flow so that other members can analyze what you have done so far

Hi peter,

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

So with a little luck you are almost there :wink:

P.S. You can also try the node-red-contrib-image-info node to get information about the image.