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]¶
方法
__init__
([frame_skip, threshold])process
(video_file_path[, run_manager])- 参数
frame_skip (int) –
threshold (int) –
- __init__(frame_skip: int = -1, threshold: int = 3000000) None [source]¶
- 参数
frame_skip (int) –
threshold (int) –
- 返回类型
None
- process(video_file_path: str, run_manager: Optional[CallbackManagerForChainRun] = None) list [source]¶
- 参数
video_file_path (str) –
run_manager (Optional[CallbackManagerForChainRun]) –
- 返回类型
列表