even though i gave the keyword according to the fuction cv.dnn.blobFromImage still it is showing same error

asked 2020-01-26 22:40:24 -0500

Traceback (most recent call last): File "speed_estimation_dl_video.py", line 154, in <module> ddepth=cv2.CV_32S) TypeError: 'ddepth' is an invalid keyword argument for blobFromImage()

edit retag flag offensive close merge delete


opencv version ?

can you show the resp. lines of code ?

what kind of model is used here ? (CV_32S is most likely wrong)

berak gravatar imageberak ( 2020-01-27 02:17:33 -0500 )edit

try :

berak gravatar imageberak ( 2020-01-27 02:36:00 -0500 )edit

@bhargav_narasimha. Your invalid keyword isn't accurately. Drop cv2.




Here is link: Depth and type

supra56 gravatar imagesupra56 ( 2020-01-27 08:04:50 -0500 )edit

thank you .

bhargav_narasimha gravatar imagebhargav_narasimha ( 2020-01-27 12:07:54 -0500 )edit