# Path: video_processing/stream_processor.py
# class Frame(collections.namedtuple('FrameSet', ['index', 'data'])):
# class StreamSet(collections.namedtuple('StreamSet', ['frame_rate_hz',
#                                                      'stream_headers'])):
# class ProcessorBase(object):
#   def __new__(cls, index=0, data=None):
#   def __new__(cls, frame_rate_hz=-1):
#   def __init__(self, configuration):
#   def open(self, stream_set):
#   def process(self, frame_set):
#   def close(self):


from video_processing import stream_processor
import cv2
# Copyright 2019 Google LLC.
"""Tracks the cursor in a video.

Given a template image for a cursor, adds a stream containing coordinates of the
cursor in the video.
"""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




# Path: video_processing/stream_processor.py
# class Frame(collections.namedtuple('FrameSet', ['index', 'data'])):
# class StreamSet(collections.namedtuple('StreamSet', ['frame_rate_hz',
#                                                      'stream_headers'])):
# class ProcessorBase(object):
#   def __new__(cls, index=0, data=None):
#   def __new__(cls, frame_rate_hz=-1):
#   def __init__(self, configuration):
#   def open(self, stream_set):
#   def process(self, frame_set):
#   def close(self):


# Path: video_processing/processors/cursor_tracker.py
from video_processing import stream_processor
import cv2

# Copyright 2019 Google LLC.
"""Tracks the cursor in a video.

Given a template image for a cursor, adds a stream containing coordinates of the
cursor in the video.
"""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




class CursorTracker(stream_processor.ProcessorBase):