Closed Wolfsin closed 3 years ago
We modified OpenFace to include ZeroMQ (pyzmq): https://zeromq.org/ This allows for data to be send over sockets (e.g. TCP). So instead of working with Python bindings or something, we send the data from OpenFace over the network, and have a socket listening in Python. This documentation page is still a draft, but some more information can be found here: https://facsvatar.readthedocs.io/en/v0.4.0/trackers/openface.html
process_bridge
module as described here. Then check this line of code of output_facstofile
.
b. Create a subscriber socket. You can find a simple zeromq publisher-subscriber project here. You have to check in the openface_2.1.0_zeromq.zip
(step 1) for config.xml
to know the right IP and port.Thank you for your reply.This information can make me work smoothly in the next step.
Thank you for your work, which has helped me a lot. As you know, openface has not provided python binding library yet, but I need to use some data identified by it. I see that your work can already output openface data in python. If I want to use these data in Python, what should I do?