chariot.video package

Submodules

chariot.video.video module

chariot.video.video.delete_video(video_id)[source]

delete_video deletes a video by video_id

chariot.video.video.get_video_request(video_request_id: str)[source]

Get one video-request by id

chariot.video.video.get_video_requests(*, project_id: str = None, video_id: str = None)[source]

Get all video-requests in a project or by video-id

chariot.video.video.get_videos(*, project_id: str, to_dict: bool = False, **kwargs)[source]

get_videos returns all videos in the requested project_id and kwargs, optionally converts results to_dict

chariot.video.video.process_video(*, video_id: str, model_id: str = None)[source]

Process an uploaded video so that it can be playedin the UI. Optionally supply a model-id to process video frames through an inference server.

chariot.video.video.upload_video(*, project_id: str, name: str, description: str, video_file: str)[source]

upload_video uploads the local video located at path video_file with the specified name, description, and project_id

Module contents