Comments (3)
Hey, thanks for your asking. As PNet is a fully convolution network, input size is not limited. So 37x17 is OK for the input of PNet. As for 12x12 in det1.prototxt, it is just an initialization of the network, not standing for actual image input size.
from mtcnn.
Could you please explain how this works? How does the network scale to each input size ?
from mtcnn.
It's much like rpn in fasterRCNN. The network doesn't scale each input size to a fixed size, since there is no fully connected layer in network. 12x12 is used in https://github.com/DuinoDu/mtcnn/blob/master/demo.py#L153
That means for any input size, PNet first generates feature maps. This feature maps can be any size. And then, use a sliding window to generate fixed size seed boxes, as you know, 12x12. This work is done in https://github.com/DuinoDu/mtcnn/blob/master/demo.py#L151
def generateBoundingBox(map, reg, scale, t). Then these seed boxes are moved closer to target, using bounding box regression. Besides, use the third branch---facial landmark localization to improve accuracy of face detection.
from mtcnn.
Related Issues (20)
- Is it possible to use it without matlab_wrapper? HOT 2
- Bounding box has 5 components HOT 1
- Missing Error.txt file HOT 1
- ROC on FDDB question HOT 3
- How can I modify the batch size when I want to detect more images each one time?
- Why the results from python and matlab are different? HOT 1
- why an data blob be reshapeed to 1,3,ws,hs HOT 2
- about speed
- Gtk-CRITICAL **: gtk_widget_new HOT 3
- demo.py script failing in GPU mode
- 关于绘制PR曲线
- demo.py中的代码错误
- How to get more points of the landmarks
- 当PNet检测到一个超过阈值的anchor时,为什么要做转置? HOT 2
- 你好,使用你提供的模型结果和作者matlab测试结果不一样
- No training code?
- In function generateBoundingBox, why plus 1?
- Why nobody is providing training code for mtcnn ?
- Training code?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mtcnn.