mirror of
https://github.com/opencv/opencv.git
synced 2026-09-25 04:09:57 +03:00
If-condition was always true (alpha = 0.5 is set in Line 19). Now the user input is checked to be between 0 and 1. This is correct in the tutorial code for OpenCV 2.4.