cv2 Problem.. I was watching not that old of a tutorial about object tracking and stumbled in this error
AttributeError: 'builtin_function_or_method' object has no attribute 'apply'
This is the code around the issue.
object_detector = cv2.createBackgroundSubtractorMOG2
while True:
ret, frame = cap.read()
mask = object_detector.apply(frame)
cv2.imshow("Frame", frame)
cv2.imshow("Mask", mask)
In The tutorial the guy did the exact same thing!!