Git Product home page Git Product logo

openalpr-forked-macosx's Introduction

Openalpr, forked and modified to run on modern MacOSX, Linux with Java v13 and v14

About

This is a fork from the openalpr main repo, corresponding to OpenAlpr v2.3.0. It has been modified to compile and run locally on a MacOSX Catalina and to produce a Linux build using a Docker build image, using OpenJDK v13 and v14 for the Java bindings.

For details about installation and general documentation on openalpr see the original openalpr repository

Motivation

OpenAlpr is about the only available open source ALPR software around for free. Unfortunatley the project has fallen asleep and is not kept current. This goes for the Java and Javascript bindings especially.

Changes from original

This repo is the regular openalpr source, but the Java bindings have been fixed and updated to compile and work with Java 13. The main difference is how header files are generated.

A minor memory leak has also been fixed in the C++ code for the Java binding.

Build on MacOSX

Pre requisites

brew install tesseract opencv@3 log4cplus brew cask install java

Building openalpr

buildOpenAlprOnMacOSX.sh --> The alpr command line tool is now in src/build, along with various libraries

Building the Java bindings on MacOSX

cd src/bindings/java ./clean.sh && ./make.sh && ./pack.sh && ./dist.sh && ./verify.sh

The folder dist now contains the compiled java bindings and the required native libraries.

Build Linux version using the Docker build image

In the root folder, do

./buildImage.sh ./runImage.sh

Development

See the following files

  • src/bindings/java/src/Main.java
  • src/bindings/java/src/com/openalpr/jni/Alpr.java

Rebuild using ./clean.sh && ./make.sh && ./pack.sh in src/bindings/java.

About openalpr

OpenALPR is an open source Automatic License Plate Recognition library written in C++ with bindings in C#, Java, Node.js, Go, and Python. The library analyzes images and video streams to identify license plates. The output is the text representation of any license plate characters.

Check out a live online demo here: http://www.openalpr.com/demo-image.html

License

Affero GPLv3 http://www.gnu.org/licenses/agpl-3.0.html

Commercial-friendly licensing available. Contact: [email protected]

openalpr-forked-macosx's People

Watchers

James Cloos avatar  avatar

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.