Ask Your Question
0

Cant load images after adding opencv_face450.dll.a libraries

asked 2020-09-22 02:32:00 -0600

squenix008 gravatar image

updated 2020-09-24 01:52:37 -0600

Hi

I need to use FacemarkKazemi class but i soon as i add the opencv_face450.dll.a library to the project, the imread function stops working (Mat img1=imread(image1, IMREAD_COLOR);) Meaning imshow displays some kind of blank picture. I dont think the problem comes from imshow because some other functionalities further down the code stop working too (face detection).

Best regards

edit retag flag offensive close merge delete

Comments

but i soon as i add the opencv_face450.dll.a library to the project, the imread function stops working

this sounds quite unlikely. you probably added some code to detect landmarks, which breaks your program.

please show us, what you have, so we can take a look at it

berak gravatar imageberak ( 2020-09-22 02:44:15 -0600 )edit

I am using eclipse CDT 7.0, opencv 4.4

squenix008 gravatar imagesquenix008 ( 2020-09-22 02:44:19 -0600 )edit

Ok i am trying to uncomment the code step by step to see why it fails

squenix008 gravatar imagesquenix008 ( 2020-09-22 03:00:54 -0600 )edit

again, show , what you have, please

berak gravatar imageberak ( 2020-09-22 03:04:41 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-09-22 09:11:39 -0600

squenix008 gravatar image

Hi

The code is now working mercifully, the first picture's face wasnt detected, which caused the error!

Thanks

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-09-22 02:32:00 -0600

Seen: 186 times

Last updated: Sep 22 '20