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

Pascal example

https://github.com/bobhyun/TS-ANPR/tree/main/examples/Pascal/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. Build and Run

2.1 Windows

  1. Free Pascal Installation

    • Download and install Free Pascal
    • Add Free Pascal bin directory to PATH
  2. How to Build

    compile.bat
    
  3. How to Run

    cd bin
    anpr.exe
    

2.2 Linux

  1. Dependency Installation

    • Debian / Ubuntu Linux

      sudo apt-get update
      sudo apt-get install fpc
      
    • Oracle Linux / RedHat (RHEL) / CentOS

      sudo yum install fpc
      
    • Fedora

      sudo dnf install fpc
      
  2. How to Build

    chmod +x compile.sh
    ./compile.sh
    

    Or using Make:

    make
    
  3. How to Run

    cd bin
    ./anpr