390d6560c6873526218606c254627f52898c700d,deeplabcut/generate_training_dataset/frame_extraction.py,,extract_frames,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,60
Before Change
): // multilanguage support :)
if opencv:
cap = cv2.VideoCapture(video)
fps = cap.get(
5
) // https://docs.opencv.org/2.4/modules/highgui/doc/reading_and_writing_images_and_video.html//videocapture-get
nframes = int(cap.get(7))
else:
// Moviepy:
clip = VideoFileClip(video)
fps = clip.fps
After Change
): // multilanguage support :)
if opencv:
cap = VideoReader(video)
nframes = len(cap)
else:
// Moviepy:
clip = VideoFileClip(video)
fps = clip.fps
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: AlexEMG/DeepLabCut
Commit Name: 390d6560c6873526218606c254627f52898c700d
Time: 2020-08-19
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/generate_training_dataset/frame_extraction.py
Class Name:
Method Name: extract_frames
Project Name: AlexEMG/DeepLabCut
Commit Name: 390d6560c6873526218606c254627f52898c700d
Time: 2020-08-19
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/utils/frameselectiontools.py
Class Name:
Method Name: UniformFramescv2
Project Name: AlexEMG/DeepLabCut
Commit Name: 390d6560c6873526218606c254627f52898c700d
Time: 2020-08-19
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/pose_estimation_tensorflow/predict_multianimal.py
Class Name:
Method Name: AnalyzeMultiAnimalVideo