Update main.cpp
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ cv::String scan(std::string imgpath, std::string modelpath, double confidence){
|
|||||||
modelpath+"/HorizonalFinemapping.prototxt",modelpath+"/HorizonalFinemapping.caffemodel",
|
modelpath+"/HorizonalFinemapping.prototxt",modelpath+"/HorizonalFinemapping.caffemodel",
|
||||||
modelpath+"/Segmentation.prototxt",modelpath+"/Segmentation.caffemodel",
|
modelpath+"/Segmentation.prototxt",modelpath+"/Segmentation.caffemodel",
|
||||||
modelpath+"/CharacterRecognization.prototxt",modelpath+"/CharacterRecognization.caffemodel",
|
modelpath+"/CharacterRecognization.prototxt",modelpath+"/CharacterRecognization.caffemodel",
|
||||||
modelpath+"/SegmentationFree.prototxt",modelpath+"/SegmentationFree.caffemodel"
|
modelpath+"/SegmenationFree-Inception.prototxt",modelpath+"/SegmenationFree-Inception.caffemodel"
|
||||||
);
|
);
|
||||||
cv::Mat image = cv::imread(imgpath);
|
cv::Mat image = cv::imread(imgpath);
|
||||||
std::vector<pr::PlateInfo> res = prc.RunPiplineAsImage(image,pr::SEGMENTATION_FREE_METHOD);
|
std::vector<pr::PlateInfo> res = prc.RunPiplineAsImage(image,pr::SEGMENTATION_FREE_METHOD);
|
||||||
|
|||||||
Reference in New Issue
Block a user