README: add preview window

This commit was merged in pull request #2.
This commit is contained in:
2025-10-06 16:47:43 +08:00
parent 1df31c20f3
commit 5f8a3de403

View File

@@ -5,16 +5,21 @@ USB driver for the ASI662MM astronomy camera, implemented in Python with `pyusb`
Initialize camera:
```
python driver.py --init
python simpleui.py --init
```
Capture image:
```
python driver.py --capture image.raw
python simpleui.py --capture image.raw
```
Capture ROI:
```
python driver.py --width 512 --height 512 --startx 16 --starty 16 --capture image.raw
python simpleui.py --width 512 --height 512 --startx 16 --starty 16 --capture image.raw
```
Preview video stream:
```
python simpleui.py --init --preview
```