Skip to content

CNN in dlib - mmod_human_face_detector #2904

Answered by arrufat
ntd1683 asked this question in Q&A
Discussion options

You must be logged in to vote

This image was generated using the dlib::net_to_dot function in the C++ example I mentioned above.

    net_type net;
    deserialize(argv[1]) >> net;  
    net_to_dot(net, "mmod_human_face_detector.dot");

Then:

$ dot -T png < mmod_human_face_detector.dot > mmod_human_face_detector.png

You can also generate a PDF:

$ dot -T pdf < mmod_human_face_detector.dot > mmod_human_face_detector.pdf

You must have Graphviz installed for this to work (the dot executable is part of Graphviz).

Here's the generated file, so you can modify it and re-run the dot command on it: mmod_human_face_detector.dot

For the citation, just cite dlib.

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@ntd1683
Comment options

@ntd1683
Comment options

@arrufat
Comment options

Answer selected by ntd1683
@ntd1683
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants