ailiaDetectorGetObject method
- Pointer<
AILIADetector> detector, - Pointer<
AILIADetectorObject> obj, - int obj_idx,
- int version
~japanese @brief 検出結果を取得します。 @param detector 検出オブジェクトポインタ @param obj オブジェクト情報 @param obj_idx オブジェクトインデックス @param version AILIA_DETECTOR_OBJECT_VERSION @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details ailiaDetectorCompute() を一度も実行していない場合は \ref AILIA_STATUS_INVALID_STATE が返ります。 検出結果は推定確率順でソートされます。
~english @brief Gets the detection results. @param detector A detector instance pointer @param obj Object information @param obj_idx Object index @param version AILIA_DETECTOR_OBJECT_VERSION @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details If ailiaDetectorCompute() is not run at all, the function returns \ref AILIA_STATUS_INVALID_STATE . The detection results are sorted in the order of estimated probability.
Implementation
int ailiaDetectorGetObject(
ffi.Pointer<AILIADetector> detector,
ffi.Pointer<AILIADetectorObject> obj,
int obj_idx,
int version,
) {
return _ailiaDetectorGetObject(
detector,
obj,
obj_idx,
version,
);
}