Skip to content

nurulain0/MacCamPlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MacCamPlusPlus🤳🏽

⭐ Project Overview MacCamPlusPlus is a powerful and flexible command line utility or framework designed to enhance and extend the functionality of the native camera on Apple macOS systems. Developed primarily in C++, this project aims to provide developers and power users with low level control over camera parameters that are often inaccessible through standard operating system interfaces.

This tool is perfect for applications requiring advanced video processing, custom resolutions, or precise camera calibration on a Mac computer.

✨ Key Features Manual Camera Control: Direct manipulation of camera settings such as exposure, focus, white balance, and ISO.

Custom Resolution and Framerate: Ability to force non default video resolutions and capture framerates.

Real Time Video Filtering: Built in support for applying simple video filters directly to the camera feed.

Low Latency Access: Optimized C++ backend ensures minimal delay between capture and processing.

Extensible Architecture: Designed as a framework to allow easy integration into other macOS C++ applications.

🛠️ Installation Procedure Because this is a C++ project, building from source code is the recommended installation path.

Prerequisites You must have the following software installed on your macOS machine:

Xcode and the Xcode Command Line Tools.

A package manager such as Homebrew (optional but helpful).

A modern C++ compiler supporting C++17 or newer.

Build and Install Follow these steps to build the project:

Clone the Repository

Bash

git clone https://github.com/nurulain0/MacCamPlusPlus.git cd MacCamPlusPlus Build with CMake

Bash

mkdir build cd build cmake .. make Installation The resulting executable or dynamic library will be located in the build directory. You can manually move it to a system path for easy access, for example:

Bash

sudo make install 🚀 Usage Guidelines The primary way to use MacCamPlusPlus is by running the command line utility with specific flags or by integrating the core library into your own C++ program.

Command Line Interface To test the basic functionality, run the main executable:

Bash

./maccampp Common Options

To set the camera exposure to a specific value:./maccampp --set exposure 500

To list all available cameras and their supported formats:./maccampp --list devices

To start a feed with a custom resolution:./maccampp --start resolution 1920x1080

Integration into Code Include the main header file in your C++ project and link against the compiled dynamic library. The core class is named MacCamController.

C++

#include <MacCamPlusPlus/MacCamController.h>

// Example usage MacCamController camera; camera.initialize(); camera.setExposure(500); camera.startCapture(); 🤝 Contributing to the Project We welcome contributions from the community. If you would like to help improve MacCamPlusPlus, please follow these steps:

Fork the repository.

Create a new feature branch for your changes.

Commit your changes following a clear and descriptive message style.

Push your branch and submit a pull request.

All contributions are subject to code review before being merged.

⚖️ Licensing This project is licensed under the MIT License. See the LICENSE file for full details.

About

An intelligent camera utility built with C++ and OpenCV for macOS

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages