Attribute error on module cvlib
See original GitHub issuehey @arunponnusamy I installed cvlib via pip and try a simple code like
import cvlib as cv import cv2
cap=cv2.VideoCapture(“std_camera.mp4”)
while True:
ret,image=cap.read()
faces, confidences = cv.detect_face(image)
print(faces)
print(confidences)
if cv2.waitKey(1) & 0xFF==ord(‘q’):
break
cv2.release()
cv2.destroyAllWindows()
but it has an attribute error logging module 'cvlib' has no attribute 'detect_face'
I also tried it with python3 but still got that error.
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (7 by maintainers)
Top Results From Across the Web
'module' object has no attribute 'cv' Error in opencv python ...
When I try to run the code I am getting the following error. AttributeError: 'module' object has no attribute 'cv'. Here is my...
Read more >zpifile.py error - no crc 32 attribute - Google Groups
I have a problem with zipfile and zlib module, and hope to get some help. That's my error: " import zipfile. File "/home/lib/python3.7/lib/python3.7/zipfile....
Read more >cvlib | A simple, high level, easy to use, open source ...
A simple, high level, easy to use, open source Computer Vision library for Python.
Read more >module 'cv2' has no attribute 'imread' - Code Grepper
AttributeError : module 'cv2' has no attribute 'imread'. Comment. 1.
Read more >OpenCV: Resolving NoneType errors - PyImageSearch
AttributeError : 'NoneType' object has no attribute 'something' ... -42178-3d0iam/opencv-2.4.12/modules/imgproc/src/color.cpp:3739: error: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hey, The problem was the name of my python code. It was cvlib.py. I think the program took my code as the cvlib module. Anyway i changed the name and it works fine. Thank you.
I got the same error while importing “cvlib”.
import cvlib
Please help, thanks.