Skip to content

Added weights for face detector models#12154

Closed
mshabunin wants to merge 1 commit intoopencv:3.4from
mshabunin:add-face-detector-models
Closed

Added weights for face detector models#12154
mshabunin wants to merge 1 commit intoopencv:3.4from
mshabunin:add-face-detector-models

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

@mshabunin mshabunin commented Aug 6, 2018

This pullrequest changes

  • added weights for OpenCV face detector uint8 model to the repository
  • removed download script
  • moved samples/dnn/face_detector to samples/data/face_detector folder

Note: there are several weights download links left pointing to opencv_3rdparty repository, we can replace them some time later

@mshabunin mshabunin force-pushed the add-face-detector-models branch from a045b0d to 3af224b Compare August 6, 2018 10:19
@vpisarev vpisarev self-assigned this Aug 6, 2018
@vpisarev
Copy link
Copy Markdown
Contributor

vpisarev commented Aug 6, 2018

👍

Copy link
Copy Markdown
Member

@alalek alalek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps face_detector should be renamed to dnn_face_detector.

| Model | Scale | Size WxH| Mean subtraction | Channels order |
|---------------|-------|-----------|--------------------|-------|
| [MobileNet-SSD, Caffe](https://github.com/chuanqi305/MobileNet-SSD/) | `0.00784 (2/255)` | `300x300` | `127.5 127.5 127.5` | BGR |
| [OpenCV face detector](https://github.com/opencv/opencv/tree/3.4/samples/dnn/face_detector) | `1.0` | `300x300` | `104 177 123` | BGR |
Copy link
Copy Markdown
Member

@alalek alalek Aug 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, Link https://github.com/opencv/opencv/tree/3.4/samples/dnn/face_detector should say (some README.md) that data is moved.

There are several "maintenance" releases that points to this path.

<?xml version="1.0" encoding="UTF-8"?>
<metalink xmlns="urn:ietf:params:xml:ns:metalink">
<file name="res10_300x300_ssd_iter_140000_fp16.caffemodel">
<identity>OpenCV face detector FP16 weights</identity>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not remove FP16 completely.
Users should be able to run different models and compare quality.

There is FP32 model too.

.gitignore file should be restored.

@mshabunin mshabunin closed this Sep 25, 2018
@mshabunin mshabunin deleted the add-face-detector-models branch July 14, 2020 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants