Hi all,
I have recently installed the open-cv-contrib using pip with version 4.5.5.64
according to documentation (and an old code base of mine), the class cv2.structured_light_GrayCodePattern should have a “generate()” function exposed, that allows creating graycode patterns as expected by the decode method.
but when I run the following snippet, it failes with the following error:
import cv2
graycode = cv2.structured_light_GrayCodePattern.create(512,512)
graycode.generate()
“AttributeError: ‘cv2.structured_light_GrayCodePattern’ object has no attribute ‘generate’”
why does this happen? where did generate disappear?