Skip to content

Mostly-working LandmarkDetector Python Bindings + Licence Question #849

@a-hurst

Description

@a-hurst

For an academic research project I'm currently working on (a series of cognitive psych experiments involving face processing + eye tracking), I wrote some basic Python bindings for the LandmarkDetector module of OpenFace using the excellent PyBind11, as well as a Python script (built into the module) that will download all the OpenFace models to either the current working directory in an "openface_models" folder, or globally to a "~/.openface/" folder in the home directory so that the bindings can be run from anywhere on the system. The bindings work well for my purposes (could use some better documentation and type-checking), but since they only cover one of OpenFace's modules I'm not sure whether you'd be interested in a pull request.

Relatedly, a core reason for writing the bindings was that OpenFace doesn't have easily-installed binaries for macOS or Linux, and Python has a great way of distributing easily-installable cross-platform binaries in the form of binary wheels. Since I want my analysis pipelines to be as transparent and easily reproducible as possible (I want something I can share with other researchers in the field, who would largely have no idea how to compile anything), I was hoping I could eventually put up binary wheels for my LandmarkDetector bindings on PyPI or somewhere similar. However, after reading over the licence for the OpenFace project, it's not entirely clear whether that would be allowed or not. Barring a scenario in which I fully write Python bindings for the entirety of OpenFace, and the project officially puts those on PyPI itself, can you give me an idea of what my options are for putting my own LandmarkDetector-based binaries up somewhere within the confines of your licence?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions