mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-24 20:33:10 +00:00
17 lines
359 B
Python
17 lines
359 B
Python
|
#!/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
|