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

Mojo example

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

1. Copying the Engine Files

[Note] Mojo currently only supports Linux. 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 Mojo SDK

    • Install pixi (package manager)
      curl -fsSL https://pixi.sh/install.sh | sh
      source ~/.bashrc  # or ~/.zshrc
      
    • Install Mojo using pixi (already configured in pixi.toml)
      cd examples/Mojo/anpr
      pixi install
      

    For more details, see: https://docs.modular.com/mojo/manual/install/

  2. Run anpr

    pixi run anpr
    
  3. Run webcam

    pixi run webcam