Abnormal_Event_Detection
Abnormal_Event_Detection copied to clipboard
From RGB to Gray
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