create
クラス RoadLine の派生クラスのインスタンスを取得するファクトリ関数。
プロトタイプ
std::unique_ptr< RoadLine > create(const std::string &model_name, bool need_preprocess=true);
パラメーター
次の表に、create 関数の引数を示します。
| タイプ | 名前 | 説明 |
|---|---|---|
| const std::string & | model_name | モデル名の文字列 |
| bool | need_preprocess | 平均値/スケール値で正規化するかどうか。デフォルト値は true。 |
戻り値
クラスRoadLine のインスタンス。