m1n1/proxyclient/experiments/isp.py
Eileen Yoon 51b6dd8701 isp: Initial commit
Add initial stream demo + patched tracer

Signed-off-by: Eileen Yoon <eyn@gmx.com>
2023-10-05 14:02:49 +09:00

16 lines
359 B
Python
Executable file

#!/usr/bin/env python3
# SPDX-License-Identifier: MIT
import sys, pathlib, time
sys.path.append(str(pathlib.Path(__file__).resolve().parents[1]))
from m1n1.setup import *
from m1n1.fw.isp_base import ISP
from m1n1.fw.isp.isp_vid import ISPFrameReceiver
isp = ISP(u)
isp.boot()
rcver = ISPFrameReceiver(isp)
rcver.stream() # Press 'Enter' to exit stream