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: CallbackManagerForChainRun | None = None) list[source]#
Parameters:
Return type:

list