## 自動相機 動物範圍框選 操作指南 :::info 程式開發:高得愷 0905511065 分機#7159 參與人員:野保所翁老師研究室 協作連結:[試算表](https://docs.google.com/spreadsheets/d/1_Vfgu1EwwDyFiMeqTmqMp9JoRiCSp1fJwCNTWiYXEfU/edit?usp=sharing) 照片路徑: Z:\保育遺傳研究室\05. AI偵測系統\手動檢查內容\detection_correct ::: ### 環境設定 1. 安裝 python 好後,開始列 搜尋 *cmd*,使用得愷常用這台電腦直接跳步驟 2. ``` # 逐行輸入以下內容 pip install matplotlib pip install Pillow ``` 2. 確保有進入 Nas 的權限,開始在自己電腦檢查照片中的框選是否正確 3. 當照片中的框選不正確時,打開在 *cmd* 或 *anaconda prompt* (得愷常用這台) 中輸入咒語執行 ``` python "Z:\保育遺傳研究室\05. AI偵測系統\手動檢查內容\select_object.py" # 失敗的話 先輸入 python空格一下 把 保育遺傳研究室\05. AI偵測系統\手動檢查內容elect_object.py 檔案直接拖移到後面 Enter ``` -  4. 出現 *錯誤的照片完整路徑(請直接拖移):* 時,直接拖移照片後 Enter 5. 跳出 Figure 1 的視窗,直接用滑鼠由左至右框選動物的正確範圍。 6. 框選正確範圍後結果會出現在 *cmd* 的介面,並複製到[試算表](https://docs.google.com/spreadsheets/d/1_Vfgu1EwwDyFiMeqTmqMp9JoRiCSp1fJwCNTWiYXEfU/edit?usp=sharing) ``` # 範例 {'filename': '10642321.jpg', 'coordinates_xyxy': {'x1': 1020.2837731888364, 'y1': 567.2522477522476, 'x2': 1254.9857800427421, 'y2': 756.6324877653991}, 'coordinates_xywh': {'x': 1137.6347766157892, 'y': 661.9423677588234, 'w': 234.7020068539057, 'h': 189.38024001315148}} ``` -  --- - 關閉快捷鍵 : **Q** ## 設備資料 :::info Driver Version: 536.40 CUDA Version: 12.2 :::
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up