Execute the K21 capture and processing pipeline
run
method executes the configured capture and processing pipeline. It can handle different combinations of capture sources (screen or file) and processing methods (OCR or Vision).
ProcessedFrameData
objects, each representing a processed frame:
Parameter | Type | Description |
---|---|---|
timestamp | string | ISO timestamp when the frame was captured |
frameNumber | number | Sequential number of the frame in the capture sequence |
content | string | Processed content from the frame (e.g., OCR text) |
processingType | string | Type of processing applied (e.g., “OCR”, “CLASSIFICATION”) |
run
method handles different configurations: