Skip to content

Color Video #123

Answered by WeisLeDocto
joshuatbland asked this question in Q&A
Jul 1, 2024 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

I played a bit with my own webcam, and I was able to reproduce your bug.

Basically, several backends are supported in Crappy to save images: SimpleITK, Pillow, OpenCV, and Numpy. This is because depending on the target image format, their performance can vary significantly. Also, back when Crappy was created (about 10 years ago already !), installing Python packages was not as easy as now so having a fallback backend was sometimes necessary.

In your script you do not specify a backend, so by default Crappy will check for the availability of SimpleITK, PIL, and cv2 modules in this order, and pick the first one available. numpy is always available in case none of the three others are as it'…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@joshuatbland
Comment options

@WeisLeDocto
Comment options

Answer selected by joshuatbland
@joshuatbland
Comment options

@WeisLeDocto
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants