Openalpr run whit /dev/video0 take photo

this code edited by me for take photo in main.cpp

command is sudo alpr /dev/video0 when detect plate number via live usb cam and take photo and save it.

new main.cpp.zipmain.cpp.zip (4.1 KB) attached