Skip to content

Commit

Permalink
add help message for simplepose example (Tencent#2495)
Browse files Browse the repository at this point in the history
  • Loading branch information
zchrissirhcz authored Dec 23, 2020
1 parent 3c99287 commit fcf02cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/simplepose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ static void draw_pose(const cv::Mat& bgr, const std::vector<KeyPoint>& keypoints

int main(int argc, char** argv)
{
if (argc != 2)
{
fprintf(stderr, "Usage: %s [imagepath]\n", argv[0]);
return -1;
}

const char* imagepath = argv[1];

cv::Mat m = cv::imread(imagepath, 1);
Expand Down

0 comments on commit fcf02cc

Please sign in to comment.