MasteringOpenCV / code

Code for the book "Mastering OpenCV with Practical Computer Vision Projects" by Packt Publishing 2012.
Other
2.71k stars 1.64k forks source link

Chapter 5: License Plate Detection error #71

Closed zshn25 closed 8 years ago

zshn25 commented 8 years ago

I just want to detect Licence plates in an image. So, I edited the main function to not compute OCR. When I try to run the program, I get the following error

Error   12  error LNK2019: unresolved external symbol "public: __thiscall Plate::Plate(class cv::Mat,class cv::Rect_<int>)" (??0Plate@@QAE@VMat@cv@@V?$Rect_@H@2@@Z) referenced in function "private: class std::vector<class Plate,class std::allocator<class Plate> > __thiscall DetectRegions::segment(class cv::Mat)" (?segment@DetectRegions@@AAE?AV?$vector@VPlate@@V?$allocator@VPlate@@@std@@@std@@VMat@cv@@@Z) D:\SensoVision\Ongoing\licenseplate\licenceplate\DetectRegions.obj  licenceplate
BloodAxe commented 8 years ago

Looks like your edits were wrong and at some point you removed implementation of Plate's c'tor.

zshn25 commented 8 years ago

Oh, yeah. Thanks for pointing out.