TakwayBoard/takway/cam_utils.py

11 lines
252 B
Python
Raw Permalink Normal View History

2024-05-23 01:27:51 +08:00
try:
import cv2
except:
warnings.warn("OpenCV is not installed, please check the module if you need.")
class Camera:
def __init__(self,
device='pc',
width=1280,
height=720):
pass