Comments (5)
- Yes, I've tried gradient images. However, these do not work well with pico due to aliasing problems (binary tests "miss" a lot of edges). You can try to learn your own detector using gradients: modify
genki.py
andbackground.py
to generate a dataset processed with a gradient operator. - Could you explain your proposal in more detail?
from pico.
Now, in each internal node, you just try 256 pixel pairs, and find the best with least WMSE(Weighted Mean Square Error, Equation 2 in paper). Our goal here is to find a pair of pixels which can divide the training samples into two groups separately. My proposal is
- Get the average image of all face samples of current internal node (i.e the first pixel of average image is the average of the first pixel of all face samples of current internal node)
- Pick the maximum pixel and minimum pixel of the average image as the pixel pair for this internal node.
- It will work because average image of the nonface should be uniform, while most face image have bigger pixel value at location of maximum of average image and less pixel value at location of minimum of average image.
By the way, I found that your face detector is not good for people with cap and girls with bangs.
from pico.
Hi wg1989john
"2.Pick the maximum pixel and minimum pixel of the average image as the pixel pair for this internal node." Do you mean that you want to change the way to select pixel pairs ? maybe it works. but how about the detection speed?
from pico.
Hi YangUSTC
It only affects training, not detection.
from pico.
Your idea is cool. But while building the tree and we get only nonface images in a subtree (pure subtree). Instead of calculating average image what should we use?
from pico.
Related Issues (20)
- tree tdepth HOT 2
- the method is fast!
- Rectangular detection HOT 1
- train data problem HOT 1
- Problem in training my
- Problem in training my own detectors HOT 2
- it's not faster than OpenCV 3.1
- Background dataset HOT 2
- can't detect rotated face HOT 7
- Advice on training custom detectors? HOT 4
- model can't converge HOT 16
- Problems about accelerating the speed of inference stage HOT 2
- Scanner logic should be from largest to smallest
- Could I ask what does s = 2.0*1.5*eyedist means in caltechfaces.py?
- what should I set ldim to? HOT 4
- Understanding tsr tsc parameters HOT 1
- Can i improve the code for eye detction HOT 1
- understanding the lut parameter HOT 1
- no documentation for learning custom detectors
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 pico.