MasteringOpenCV/code

Chapter 5: License Plate Detection error

zshn25 opened this issue · 2 comments

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

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

Oh, yeah. Thanks for pointing out.