ailiaCreatePoseEstimator method

int ailiaCreatePoseEstimator(
  1. Pointer<Pointer<AILIAPoseEstimator>> pose_estimator,
  2. Pointer<AILIANetwork> net,
  3. int algorithm
)

~japanese @brief 検出オブジェクトを作成します。 @param pose_estimator 検出オブジェクトポインタ @param net ネットワークオブジェクトポインタ @param algorithm 検出アルゴリズム (AILIA_POSE_ESTIMATOR_ALGORITHM_*) @return 成功した場合は \ref AILIA_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details caffemodelとprototxtを読み込んだAILIANetworkから検出オブジェクトを作成します。

~english @brief Creates a estimator instance. @param pose_estimator An estimator instance pointer @param net The network instance pointer @param algorithm Estimation algorithm(AILIA_POSE_ESTIMATOR_ALGORITHM_*) @return If this function is successful, it returns \ref AILIA_STATUS_SUCCESS , or an error code otherwise. @details This function creates an estimator instance from AILIANetwork when reading caffemodel and prototxt.

Implementation

int ailiaCreatePoseEstimator(
  ffi.Pointer<ffi.Pointer<AILIAPoseEstimator>> pose_estimator,
  ffi.Pointer<AILIANetwork> net,
  int algorithm,
) {
  return _ailiaCreatePoseEstimator(
    pose_estimator,
    net,
    algorithm,
  );
}