mirror of
https://github.com/opencv/opencv.git
synced 2026-07-25 13:23:02 +04:00
56cedfc4d2
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.