Azmarie / Caricature-Your-Face

🧑🏻‍🎤 Generate geometry-aware face caricatures using Style Transfer
https://azmariewang.medium.com/geometry-aware-style-transfer-implementation-and-analysis-3a9034dfca2d
MIT License
38 stars 5 forks source link

How to add new style images? #2

Closed ruanjiyang closed 3 years ago

ruanjiyang commented 3 years ago

Dear Azmarie,

I want to add new style images. so I want to know how to create *.ljson files for new style face images? thanks!

Azmarie commented 3 years ago

The current style images are from The Face of Art that's why they are in ljson format.

If you want to introduce new style images, you could simply use standard library such as dlib to detect the points and save as txt files (such as using the face_landmark_detection.py script), no need to create ljson files.

Hope this helps.

ruanjiyang commented 3 years ago

The current style images are from The Face of Art that's why they are in ljson format.

If you want to introduce new style images, you could simply use standard library such as dlib to detect the points and save as txt files (such as using the face_landmark_detection.py script), no need to create ljson files.

Hope this helps.

Thanks! Azmarie. got it.