MCPcopy Create free account
hub / github.com/DeepLabCut/DeepLabCut / make_output_path

Method make_output_path

deeplabcut/utils/auxfun_videos.py:346–349  ·  view source on GitHub ↗
(self, suffix, dest_folder)

Source from the content-addressed store, hash-verified

344 cv2.imwrite(where, frame[..., ::-1])
345
346 def make_output_path(self, suffix, dest_folder):
347 if not dest_folder:
348 dest_folder = self.directory
349 return os.path.join(dest_folder, f"{self.name}{suffix}{self.format}")
350
351
352def check_video_integrity(video_path):

Callers 4

shortenMethod · 0.95
cropMethod · 0.95
rotateMethod · 0.95
rescaleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected