Skip to the content.
English 한국어 日本語 Tiếng Việt

OCaml example

https://github.com/bobhyun/TS-ANPR/tree/main/examples/OCaml/anpr

1. Copying the Engine Files

[Note] In this example, the engine file is extracted to the examples/bin/ directory to share it with other examples. However, for actual deployment, the engine file is typically copied to the directory where the application’s executable file is located.

2. How to Run

  1. Install OCaml and opam

    # Linux (Ubuntu/Debian)
    sudo apt-get install ocaml opam
    
    # Initialize opam
    opam init
    eval $(opam env)
    
  2. Install dependencies

    opam install dune ctypes ctypes-foreign
    
  3. Run anpr

    cd examples/OCaml/anpr
    dune exec anpr