Conversation
|
Thanks for showing us how this kind of live demo works. When we were composing this tutorial, we just followed the writing format of |
|
@fengyuentau i am still working on the PR. i will ping you for final review. ( Thank you for a GREATE contribution ) |
2427f28 to
8fbb807
Compare
|
I wish to thank you sincerely for your demonstration and contribution on improving the writing format of document. |
|
@alalek @fengyuentau @crywang in my opinion, combining detection and recognition parts in only one sample will be fine. what is your opinions? |
|
I think combining two samples into one may confuse people who want to know how to use face detection separately. The original sample is simple enough to show people how to do so. Also, in my opinion, you should also compose a subsection for ## Usage
### FaceDetectorYN
Code
-----
Explanation
-----
### FaceRecognizerSF
Code
-----
Explanation
----- |
b3baf96 to
d33bb10
Compare
|
@fengyuentau i combined face_match functionality into face_detect just for presentation. if image1 and image2 parameters given then face matching will run. |
9941551 to
65f218d
Compare
samples/dnn/face_detect.cpp
Outdated
| << ", top-left coordinates: (" << faces.at<float>(i, 0) << ", " << faces.at<float>(i, 1) << "), " | ||
| << "box width: " << faces.at<float>(i, 2) << ", box height: " << faces.at<float>(i, 3) << ", " | ||
| << "score: " << faces.at<float>(i, 14) << "\n"; | ||
| << "score: " << format("%.2f\n", faces.at<float>(i, 14)); |
There was a problem hiding this comment.
format
please use cv::format() to avoid issues with latest C++ and std::format.
8aaa8bb to
e725a4f
Compare
|
Updated .cpp sample. @sturkmen72 Please take a look and remove WIP prefix from PR's title. |
Update documentation * Update DNN-based Face Detection And Recognition tutorial * samples(dnn/face): update face_detect.cpp * final changes Co-authored-by: Alexander Alekhin <alexander.a.alekhin@gmail.com>
additional documentation improvements relates #20935
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.