Comments (5)
@ekarabulut Yes. In our test of LFW and YTF, all the images are aligned by mtcnn and util.align_box.
If you want to use evaluate.py script to test your own dataset, you should provide keypoints as parameter to util.align_box. You can get the keypoints by mtcnn or other landmark methods.
from seqface.
I found the problem. The images you suppled to me are not aligned and cropped. Please refer to util.py
Moreover, you would better to normalize the feature vector. The effect may be better.
from seqface.
@huangyangyu Thank you for your answer.
I understand each image should be aligned and cropped. I also assume this can be done by using functions given in util.py
. Right?
I inspect the code (evaluate.py and featurer.py) and see that each image is passed through util.align_box
function which presumably does the alignment job.
Therefore, I don't understand how further I can use util.py
. It is already used in your code.
Do you refer to any other preprocesses other than things done in util.py
? I'd be glad if you can clarify further.
EDIT: I checked the code one more time. This time, I saw the second parameter of util.align_box
which is expected to have landmarks of the face features (eye_left, eye_right, nose etc) is always None
. Therefore, util.align_box
simply returns what is given (e.g. does nothing). I guess a python function that calculates landmarks of the detected face in the image is missing. Perhaps MTCNN
is connected with the issue. It is possible I am getting it wrong. Any help is appreciated.
from seqface.
Hi @huangyangyu
Thank you again for your feedback. I have recently had the opportunity to apply MTCNN (python implementation) to preprocess the images before giving to the SeqFace. It seems obtaining face landmark features and giving it to SeqFace works!
The new results with properly aligned face photos seem more meaningful.
- Faces of the same person give a cos similarity between -5 and -10
- Faces of different people give a cos similarity under -25
Therefore, I understand by applying a threshold, say -10, SeqFace is able to tell whether faces belong to different people or the same person. But I am not sure about how to pick a proper threshold for all cases as the value -10 is obtained as a result of my own experiments.
Can you tell me if my assumption is correct?
Thanks so far.
from seqface.
I think we can close this issue.
from seqface.
Related Issues (19)
- Will the Celeb-Seq datasets be released? HOT 3
- question about your demo HOT 3
- could please share the new similarity method? HOT 8
- caffe compilation fails HOT 3
- confusion about NoiseTolerantFRLayer<Dtype>::Backward_cpu HOT 1
- Is LFW evaluation accuracy for resnet-27 0.989 not 0.998? HOT 4
- Combined with ArcFace HOT 1
- Caffe compile error
- Where is pairs.txt in YTF?
- Model for pytorch
- Use spherefacce code test your model HOT 2
- Testing on face verification HOT 13
- how to prepare sequence data HOT 1
- about training expirence HOT 4
- about resnet_64 model HOT 5
- cuda cudnn version HOT 3
- Where is the SmoothMarginInnerProduct layer? HOT 1
- Missed Detections on YTF HOT 1
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 seqface.