mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-22 14:43:08 +00:00
51b6dd8701
Add initial stream demo + patched tracer Signed-off-by: Eileen Yoon <eyn@gmx.com>
16 lines
359 B
Python
Executable file
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
|