Good news! rEmotion 2 is now shipped with the Linux library that can be used to interact with the module from your Raspberry Pi or any other Linux device!

The update is available in the repository:
Look at the example application that constantly writes frames to the img.jpg file, moves the head, and changes facial expressions!
While working on this update I realized, that my initial web camera was not suitable for the project, so the updated assembly documentation is available here (no mechanical changes needed):
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
To create a C++-based Linux control library, follow these steps:
Define Requirements: Identify the hardware interfaces (GPIO, I2C, etc.) and target audience.
Set Up Environment: Use g++ or clang with CMake for building and manage dependencies.
Structure: Organize your code into headers and source files for each module.
Implement Functionality: Develop classes for each hardware interface (e.g., GPIO for digital I/O).
Testing: Use a framework like Google Test for unit tests, validating on actual hardware.
Documentation: Generate documentation with tools like Doxygen and provide usage examples https://www.ny-stateofhealth.com
Distribution: Package the library for easy installation, ideally on platforms like GitHub for collaboration.
This approach ensures a well-structured, maintainable library tailored for Linux hardware control.
Are you sure? yes | no