This project demonstrates how to control a QHYCCD camera using Python and PyQt5. It provides a graphical user interface for connecting to the camera, capturing images, and displaying them. The dll file in the folder is from QHYCCD and it is a X64 version.
- Connect to QHYCCD cameras
- Capture single-frame images
- Display captured images in the GUI
- Automatically resize the window to fit the captured image
- Python 3.x
- PyQt5
- NumPy
- Pillow
- QHYCCD SDK (qhyccd.dll)
-
Clone this repository:
git clone https://github.com/yourusername/qhyccd-demo.git cd qhyccd-demo
-
Install the required Python packages:
pip install PyQt5 numpy Pillow
-
Ensure that the QHYCCD SDK (qhyccd.dll) is in the same directory as the script or in your system PATH.
Run the script using Python:
python qhyccd_demo.py
This method captures an image from the connected camera and displays it in the GUI.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
This project uses the QHYCCD SDK, which is provided by QHYCCD (https://www.qhyccd.com/).