Menu

What classificator should I use?

Help
2020-02-22
2020-02-27
  • Jan Lipták

    Jan Lipták - 2020-02-22

    Hello I need to train Binary classificator to decide if the face on the picture is veiled or not. What dlib tool should I use and what will be the input format of data?

     

    Last edit: Jan Lipták 2020-02-22
    • Davis

      Davis - 2020-02-22

      You could train a CNN to do this (e.g. like in
      http://dlib.net/dnn_imagenet_ex.cpp.html) or just take the output
      descriptor vector from http://dlib.net/dnn_face_recognition_ex.cpp.html and
      train a linear SVM on it to do this. The latter is probably easier, and
      will require less training data. But it might not work as well.

       
      • Jan Lipták

        Jan Lipták - 2020-02-27

        Thank you, it looks its working. I made 150x150 images, sort it to folders and train it with dnn_metric_learning_on_images_ex. It is doing clustering how i would expect with dnn_face_recognition_ex, but I have last question. I decide that I want more groups, not just binary classificator.
        Is there information in that trained .dat file about the folders names? And maybe set it instead of "face cluster 0" to title of window?
        I know it's set with "win_clusters[cluster_id].set_title("face cluster " + cast_to_string(cluster_id));" but I don't know how to get that folder name.
        I read this article http://blog.dlib.net/2017/02/high-quality-face-recognition-with-deep.html and also the discussion, I found questions about that, but I didn't find answer on it.
        Thank you very much :)

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.