{"id":13598803,"url":"https://github.com/aybassiouny/OpenFaceCpp","last_synced_at":"2025-04-10T10:30:25.651Z","repository":{"id":45766183,"uuid":"46385789","full_name":"aybassiouny/OpenFaceCpp","owner":"aybassiouny","description":"C++ implementation for OpenFace library by CMU. ","archived":false,"fork":false,"pushed_at":"2018-10-22T17:36:23.000Z","size":6518,"stargazers_count":186,"open_issues_count":1,"forks_count":81,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-11-06T23:40:39.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aybassiouny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-18T01:02:47.000Z","updated_at":"2024-08-27T15:43:32.000Z","dependencies_parsed_at":"2022-09-02T12:02:01.067Z","dependency_job_id":null,"html_url":"https://github.com/aybassiouny/OpenFaceCpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aybassiouny%2FOpenFaceCpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aybassiouny%2FOpenFaceCpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aybassiouny%2FOpenFaceCpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aybassiouny%2FOpenFaceCpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aybassiouny","download_url":"https://codeload.github.com/aybassiouny/OpenFaceCpp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248199136,"owners_count":21063641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T17:00:56.729Z","updated_at":"2025-04-10T10:30:24.449Z","avatar_url":"https://github.com/aybassiouny.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# OpenFaceCpp\nC++ implementation for [OpenFace](https://github.com/cmusatyalab/openface) library by CMU.\n\nAlthough there are many dependencies, the repo tries to minimize manual setup steps by using hunter packaging. Currently the only package that needs to be manually setup is torch.\n\n# Torch setup\nWe use torch to run our models. I had the following setup: \n- Torch windows binaries from [here](https://github.com/hiili/WindowsTorch/releases/tag/64-bit_LuaJIT-2-1b2_2017-07)\n- `dpnn` required package by running [this hack](https://github.com/Element-Research/dpnn/issues/91#issuecomment-301303536) \n- `libjpeg` on windows, then re-ran `luarocks install image` in order to make sure it is linked to libjpeg (otherwise torch cannot deal with jpegs)\n- Ascii models from [here ](https://github.com/cmusatyalab/openface/issues/42#issuecomment-198406159) since binary models won't work. \n- Good luck :)  \n\n# Install\nThis is a standard cmake project. Create a build directory from root, then `cmake ..`, followed by `cmake --build .` should do the trick. \n\nOpenFaceCpp currently takes an an input an xml config file. A sample is in `src/OpenFaceConfig.xml`. You will see a couple models are needed, they can be found in the [original repo](https://github.com/cmusatyalab/openface/blob/master/models/get-models.sh). \n\nE.g. OpenFaceConfig.xml expects:\n- shape_predictor_68_face_landmarks.dat: it's possible to download it by running in PS: \n`wget http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2 -O dlib/shape_predictor_68_face_landmarks.dat.bz2`\n- nn4.small2.v1: get it (and other models) from [here](http://cmusatyalab.github.io/openface/models-and-accuracies/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faybassiouny%2FOpenFaceCpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faybassiouny%2FOpenFaceCpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faybassiouny%2FOpenFaceCpp/lists"}