samedi 26 janvier 2019

Compile error with OpenCV error: use of undeclared identifier 'cvPoint'

I am trying to compile face detection program on my MacBook Pro with C++11, opencv4 however getting following compile error:

error: 
      use of undeclared identifier 'cvPoint'
      rectangle(img, cvPoint(cvRound(r.x * scale), cvRound(r.y * scale)),

I have tried to reinstall opencv however that did not fix the issue. Appreciate any help.

Please let me know if more details are needed.

Aucun commentaire:

Enregistrer un commentaire