int main() {
TorchSegEngine engine("/home/alien/CLionProjects/TorchSegmentation/test.pt",cv::Size(512,512));
cv::Mat mat = cv::imread("/home/alien/CLionProjects/TorchSegmentation/20190403_0000026513.jpg");
vector<SegObject> obj = engine.segmentation(mat.clone());
engine.drawSegObjects(mat,obj,cv::Scalar(0,2,255),1);
cv::imshow("",mat);
cv::waitKey(0);
return 0;
}
-
Notifications
You must be signed in to change notification settings - Fork 0
Kevin4ch/TorchSegmentationInference
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published