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

Fortran サンプル

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

1. エンジンファイルのコピー

[注意] このサンプルでは、他のサンプルと共有するためにエンジンファイルを examples/bin/ディレクトリに展開します。ただし、実際のデプロイメントでは、通常、アプリケーションの実行ファイルが配置されているディレクトリにエンジンファイルをコピーします。

2. 前提条件

  1. Fortran コンパイラとビルドツールのインストール

    Ubuntu/Debian:

    sudo apt-get update
    sudo apt-get install gfortran build-essential
    

    CentOS/RHEL/Fedora:

    # CentOS/RHEL 7
    sudo yum install gcc-gfortran make
    
    # CentOS/RHEL 8+ / Fedora
    sudo dnf install gcc-gfortran make
    

    Windows (MinGW/MSYS2):

    # 最初にMSYS2をインストールしてから:
    pacman -S mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-make
    
  2. インストールの確認

    gfortran --version
    make --version
    

3. ビルド方法

  1. Fortran サンプルディレクトリに移動

    cd Fortran/anpr
    
  2. サンプルをビルド

    make all
    
  3. ビルド成果物をクリーンアップ(必要に応じて)

    make clean
    

4. 実行方法

  1. anprサンプルの実行

    ./build/anpr
    

    または Windows で:

    build/anpr.exe
    

5. 注意事項

6. 機能

7. API リファレンス

TSANPR モジュール

tsanpr_moduleは以下のタイプとプロシージャを提供します:

タイプ:

初期化:

コア関数:

認識オプション

出力形式