GithubHelp home page GithubHelp logo

lpr-deps's Introduction

OpenALPR ARM Docker Build

Build OpenALPR and all its dependencies for ARM architecture using Docker.

Releases

If you just want to install OpenALPR on a Raspberry Pi, you can grab the .deb files which are available on the releases page. Download them and then do:

dpkg -i opencv_<version>_armhf.deb
dpkg -i leptonica_<version>_armhf.deb
dpkg -i openalpr_<version>_armhf.deb
dpkg -i tesseract_<version>_armhf.deb
sudo ldconfig

You'll also need to do:

sudo apt install libcurl4-openssl-dev liblog4cplus-dev

You can then run the test:

wget -q http://plates.openalpr.com/ea7the.jpg
alpr -c us ea7the.jpg

Building yourself

Either use a Raspberry Pi or fire up a Scaleway ARM cloud VM to build. You then can install the latest Docker version which is packaged by Hypriot:

wget https://downloads.hypriot.com/docker-hypriot_1.10.3-1_armhf.deb
sudo dpkg -i docker-hypriot_1.10.3-1_armhf.deb
systemctl start docker

Then, build them in order, which is:

  1. leptonica
  2. tesseract
  3. opencv
  4. openalpr

You'll have to modify each Dockerfile to point to your newly built intermediate .deb files.

cd leptonica / tesseract / etc.
make build
make deb

The test directory contains a Dockerfile that pulls in the final debs and allows you to manually verify the install worked. You can build and run it to get the OpenALPR results on the test plate:

make build
make run

TODO

  • Put the debs into a proper repository like Package Cloud or Launchpad PPA (which doesn't support ARM at the moment).

Notes

This uses fpm to build deb files, see:

lpr-deps's People

Contributors

marktheunissen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

softarch qianzy96

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.