langchain_experimental.video_captioning.services.image_service
.ImageProcessor¶
- class langchain_experimental.video_captioning.services.image_service.ImageProcessor(frame_skip: int = -1, threshold: int = 3000000)[source]¶
Methods
__init__
([frame_skip, threshold])process
(video_file_path[, run_manager])- Parameters
frame_skip (int) –
threshold (int) –
- __init__(frame_skip: int = -1, threshold: int = 3000000) None [source]¶
- Parameters
frame_skip (int) –
threshold (int) –
- Return type
None
- process(video_file_path: str, run_manager: Optional[CallbackManagerForChainRun] = None) list [source]¶
- Parameters
video_file_path (str) –
run_manager (Optional[CallbackManagerForChainRun]) –
- Return type
list