I am currently building an Automatic licence plate recongition system. I am referring to this page
http://nbviewer.jupyter.org/gist/kislayabhi/89b985e5b78a6f56029a
In this code, two paramters namely "CV_FLOODFILL_FIXED_RANGE and CV_FLOODFILL_MASK_ONLY" are used.
It has been called in the program by using cv2.cv as cv2.cv.CV_FLOODFILL_FIXED_RANGE
But when I tried executing the program, I got an error stating that cv2 has no attribute named cv
I also tried changing it to cv2.CV_FLOODFILL_FIXED_RANGE as in Opencv3 the version changes cv has been deprecated
But I get the following error
AttributeError: module 'cv2' has no attribute 'CV_FLOODFILL_FIXED_RANGE'
This means that either I have called CV_FLOODFILL_FIXED_RANGE wrong or it is not available in the name called
Can anyone please tell me what should I do for solving this error
Thanks in advance