-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
close #KLI-193 配置エリアAでの撮影動作の実装 #7
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upload_folder = os.path.join(os.path.dirname(__file__), 'image_data') | ||
os.makedirs(upload_folder, exist_ok=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upload_folder = os.path.join(os.path.dirname(__file__), 'image_data') | |
os.makedirs(upload_folder, exist_ok=True) | |
# 画像を保存するファイルが存在しない場合は生成する | |
upload_folder = os.path.join(os.path.dirname(__file__), 'image_data') | |
os.makedirs(upload_folder, exist_ok=True) |
cls = int(objects[0][5]) | ||
empty_file = os.path.abspath(f"{cls}_skip_camera_action.flag") | ||
|
||
# 空のフラグ管理用ファイルを作成 | ||
with open(empty_file, 'w') as file: | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
99行目に# 取得した画像に対し物体検出を行う
って書くなら、コメント移動すべきな気がする。コメント内容は好みです。
cls = int(objects[0][5]) | |
empty_file = os.path.abspath(f"{cls}_skip_camera_action.flag") | |
# 空のフラグ管理用ファイルを作成 | |
with open(empty_file, 'w') as file: | |
pass | |
# 検出した分類名フラグ管理用ファイルを作成 | |
cls = int(objects[0][5]) | |
cls_name_file = os.path.abspath(f"{cls}_skip_camera_action.flag") | |
with open(cls_name_file, 'w') as file: | |
pass |
チェックリスト
変更点
メモ
競技システムに送る処理がまだありません。すみません。
動作テスト
notionにあります