Deeplabcut Live for Multi-Animal
@C-Achard がすでに取り組んでいます。
2026年2月3日 から。
評価
この issue はまだ評価されていません。
説明
I have used Deeplabcut GUI to train a model for poses of two rats, which includes three multi-animal-bodyparts and two unique-bodyparts. The model was tested in Deeplab GUI through a video and the result shows that all the 8 points could be dotted.
The main purpose of us is for real-time application, so we find Deeplabcut-Live for next step. We import the model through python code:
deeplabcut.export_model(config_path, shuffle=1, make_tar=False)
Then a new folder named exported-models was created, which included a configuration file pose_cfg.yaml and other model files. Finally, I used deeplabcut-live to process a test video in real time, code:
import cv2
from dlclive import DLCLive, Processor
import time
model_path = r"C:\Users\XHB\Desktop\Multi_Rat-HB-2025-07-31\exported-models\DLC_Multi_Rat_resnet_50_iteration-0_shuffle-1"
dlc_proc = Processor()
dlc_live = DLCLive(model_path, processor=dlc_proc)
cap = cv2.VideoCapture("2rat2.avi")
ret, frame = cap.read()
dlc_live.init_inference(frame)
while True:
if not ret:
break
pose = dlc_live.get_pose(frame)
time_end = time.time()
for x, y, p in pose:
if p > 0.5:
cv2.circle(frame, (int(x), int(y)), 5, (0, 255, 0), -1)
cv2.imshow("DLC Live", frame)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
cap.release()
The result shows that only 5 points could be dotted, including the 3 multi-animal-bodyparts of the first rat and the 2 unique-bodyparts, while the other 3 multi-animal-bodyparts of the second rat were neglected.
Thus, I wanna ask for help, how could I recognize all the 8 parts of the 2 rats.
result in Deeplabcut GUI:
result in Deeplabcut-Live:
configuration file in Deeplabcut GUI:
config.zip
configuration file in Deeplabcut GUI:
pose_cfg.zip
- 主要言語
- Python
- スター
- 240
- フォーク
- 57
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeepLabCut/DeepLabCut-live のほかの issue
-
DeepLabCut-live fails to run exported superanimal_humanbody model from DeepLabCut対応中かも @deruyter92 が 221 日前に担当しました。 オープンbug DLC 3.0 🔥
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
DeepLabCut/DeepLabCut-live#137 · コメント 1 件 ·
-
[meta] docs再び着手できるかも @C-Achard が 236 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンdocumentation
DeepLabCut/DeepLabCut-live#78 · コメント 2 件 · リアクション 1 件 · 担当者 2 名 ·
DeepLabCut/DeepLabCut-live の issue をすべて見る
似ている issue
-
bug status/needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
prowler-cloud/prowler#12887 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: desktop platform: macos priority: p3 status: ready type: enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
use-agent-os/agent-os#3484 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
open-telemetry/opentelemetry-python-contrib#5113 · コメント 2 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
external
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
langchain-ai/docs#6255 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信