Update test_segmentationFree.cpp
This commit is contained in:
@@ -39,7 +39,7 @@ int main()
|
|||||||
// cv::resize(image,image,cv::Size(160,40));
|
// cv::resize(image,image,cv::Size(160,40));
|
||||||
cv::imshow("xxx",image);
|
cv::imshow("xxx",image);
|
||||||
cv::waitKey(0);
|
cv::waitKey(0);
|
||||||
pr::SegmentationFreeRecognizer recognizr("model/SegmentFreeModel.prototxt","model/InceptionV3.caffemodel");
|
pr::SegmentationFreeRecognizer recognizr("model/SegmenationFree-Inception.prototxt","model/ISegmenationFree-Inception.caffemodel");
|
||||||
std::pair<std::string,float> res = recognizr.SegmentationFreeForSinglePlate(image,pr::CH_PLATE_CODE);
|
std::pair<std::string,float> res = recognizr.SegmentationFreeForSinglePlate(image,pr::CH_PLATE_CODE);
|
||||||
std::cout<<res.first<<" "
|
std::cout<<res.first<<" "
|
||||||
<<res.second<<std::endl;
|
<<res.second<<std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user