Zion Boggan
repos/Pitch Tracker CV/io_titan/gcv_template.py
zionboggan.com ↗
13 lines · python
History for this file →
1
import os
2
import cv2
3
 
4
class GCVWorker:
5
    def __init__(self, width, height):
6
        os.chdir(os.path.dirname(__file__))
7
        self.gcvdata = bytearray([0x00])
8
 
9
    def __del__(self):
10
        del self.gcvdata
11
 
12
    def process(self, frame):
13
        return (frame, None)