-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
現在は以下のAPIでカメラを制御する仕様である
現行仕様
- 認識アルゴリズムの指定
- husky.send_CMD_REQ_ALGO(<algorithm_type>)
- 認識結果の取得
- husky.read_blocks()
- husky.read_arrows()
改善案
- 認識アルゴリズムの指定
- husky.set_algorithm(<algorithm_type>)
- 認識結果の取得
- husky.get_objests()
現在のAPI名はHuskyLensの関数仕様からそのまま引用であるが、カメラを使うアプリ側からすると、分かりづらい。
そこで上記のAPI名に変えてはどうか。
また、認識結果取得はblocksかarrowsかを呼び出し側で使い分けていたが、関数get_objectsに統一する。
get_objects内で、現在動作している認識アルゴリズムに応じて、read_blocksを使うか、read_arrowsを使うか
判断する(API利用者に意識させない)
Metadata
Metadata
Assignees
Labels
No labels