Skip to content

Instantly share code, notes, and snippets.

@doleron
Last active January 23, 2022 11:37
Show Gist options
  • Save doleron/6860b33f645cc2c6fee5e0104ee22717 to your computer and use it in GitHub Desktop.
Save doleron/6860b33f645cc2c6fee5e0104ee22717 to your computer and use it in GitHub Desktop.
C++ load model
#include <opencv2/opencv.hpp>
int main(int, char **)
{
auto net = cv::dnn::readNet("yolov5s.onnx");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment