Toggle Menu
Prev Up Next

# `langchain_experimental.video_captioning.services.image_service`.ImageProcessor

class langchain_experimental.video_captioning.services.image_service.ImageProcessor(frame_skip: int = -1, threshold: int = 3000000)

  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
    Parameters

      - frame_skip (int) –

      - threshold (int) –

    Return type

      None

  process(video_file_path: str, run_manager: Optional[CallbackManagerForChainRun] = None) → list
    Parameters

      - video_file_path (str) –

      - run_manager (Optional[CallbackManagerForChainRun]) –

    Return type

      list