Abnormal_Event_Detection icon indicating copy to clipboard operation
Abnormal_Event_Detection copied to clipboard

From RGB to Gray

Open ayanasser opened this issue 4 years ago • 0 comments

Hi, I want to know from where did u get those numbers to convert the image from rgb to gray ?

gray = 0.2989 * img[:, :, 0] + 0.5870 * img[:, :, 1] + 0.1140 * img[:, :, 2]

I think those will be different to each dataset and each case

ayanasser avatar Sep 29 '20 08:09 ayanasser