Ask Your Question
0

AttributeError: 'module' object has no attribute 'createBackgroundSubtractorMOG'

asked 2017-11-04 13:07:53 -0600

I was reading a tutorial on opencv-python documentation in which they use cv2.createBackgroundSubtractorMOG() function but when i try this i got following error.

AttributeError: 'module' object has no attribute 'createBackgroundSubtractorMOG'

Please help me. If this function is not present then what is alternative ? Please tell me. The tutorial about which i am talking is http://opencv-python-tutroals.readthe...

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-03-13 08:38:28 -0600

I am also facing the same issue apart from that MOG2 and every other things works fine. I don't know what is wrong in it. Can any one tell us?

edit flag offensive delete link more
0

answered 2017-11-04 14:12:00 -0600

supra56 gravatar image
cv2.createBackgroundSubtractorMOG2
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-11-04 13:07:53 -0600

Seen: 883 times

Last updated: Nov 04 '17