Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

Latest commit

 

History

History
13 lines (10 loc) · 656 Bytes

open_alpr_cuda.md

File metadata and controls

13 lines (10 loc) · 656 Bytes

Build OpenALPR with CUDA support

You can build OpenALPR with CUDA support following the example in this script

Config files to enable GPU

Don't forget to create 2 copies of the alpr config file. One for CPU and one for GPU.

If the git repo for openalpr is at /opt/openalpr this would be the commands to create the config files:

cp /opt/openalpr/config/openalpr.conf.defaults /etc/openalpr/openalpr.conf \
&& cp /tmp/etc/openalpr/openalpr.conf /etc/openalpr/openalpr.conf.gpu \
&& sed -i 's/detector =.*/detector = lbpgpu/g' /etc/openalpr/openalpr.conf.gpu