-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Bug description
After using the cropping parameter in dlc.analyze_videos, the labels are appearing on the upper left corner of the video instead of on the animal.
Original (no cropping parameter)

With cropping parameter

Operating System
Google Colab
DeepLabCut version
2.2.1
DeepLabCut mode
single animal
Device type
Colab Pro
Steps To Reproduce
deeplabcut.analyze_videos(path_config_file, "/content/drive/MyDrive/DeepLabCut/Trial9B-JDC-2022-05-23/videos/FILE1077_D194_A2_aMSH.mp4", videotype=VideoType, save_as_csv = False, cropping= [700,1250, 300, 900 ])
Relevant log output
N/AAnything else?
- I obtained the coordinates by using the parameter
cropped = 'GUI'duringdeeplabcut.extract_frames().[x1, x2, y1, y2] = [700, 1250, 300, 900 ]
- The frame dimensions are 1920 x 1080.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels
