rwightman / posenet-pytorch

A PyTorch port of Google TensorFlow.js PoseNet (Real-time Human Pose Estimation)
Apache License 2.0
307 stars 99 forks source link

myAttributeError: module 'cv2.cv2' has no attribute 'drawKeypoints' #1

Closed OIdiotLin closed 5 years ago

OIdiotLin commented 5 years ago

Enviornment

Reproduction

Just run python image_demo.py and an error is thrown.

opencv-drawkp

OIdiotLin commented 5 years ago

Well, I just find the reason here skvark/opencv-python#168.

It seems that the function missing could be repaired in OpenCV 4.0.1.

For me, I reinstall version 3.4.5.20 instead. :rofl:

rwightman commented 5 years ago

yeah, kind of annoying they released 4.x with that bug. I'll improve the note in the README about it...