This is a thin Rust wrapper of the ASI Camera2 SDK.
Please consult the binaries in src/bin for examples of how to use the wrapped ASI Camera2 SDK. These programs are:
This program uses the SDK to enumerate all attached ASI camera(s) and print out properties for each.
This program opens the first ASI camera, and:
- Configures the ROI for greyscale image, whole sensor, no binning.
- Sets an exposure time. You can adjust the exposure time by editing the example code.
- Starts an exposure and sleeps for the expected exposure duration.
- Waits for the exposure to finish, sleeping in additional increments if necessary.
- Reads out the image and saves it to a JPG file.
This is similar to the "one_exposure" program except it operates the camera in video capture mode.
This crate depends on the 'image' library, but that's only needed for the example binary programs. The asi_camera_sdk module itself does not depend on anything beside 'std::'.