There are quite a few similar threads in this forum that should help.
Have you tried sending the image as a buffer?
Here is a demo that helped a user & is quite similar to your requirement.
In your case, read the file into node-red. Or grab the image from the camera directly without any files at all. Both options are possible & covered in the demo