added onnx model

master
Samuel Dobron 4 months ago
parent 15041e6dde
commit 4f4e718c4c

Binary file not shown.

@ -316,8 +316,8 @@ void plot_results(cv::Mat img, std::vector<YoloResults>& results,
int main()
{
std::string img_path = "/home/xdobro23/path_to_16bit_3_channel_image.png";
const std::string& modelPath = "/home/xdobro23/PP1/ultralytics/runs/detect/train35/weights/best.onnx"; // pose
std::string img_path = "path_to_16bit_1_channel_image.png";
const std::string& modelPath = "../best.onnx"; // relative path for build/ directory
fs::path imageFilePath(img_path);
fs::path newFilePath = imageFilePath.stem();

Loading…
Cancel
Save