Package: skellycam
SkellyCamAn easy and efficient way to connect to one or more cameras and record synchronized videos 💀📸MotivationConnecting to cameras on multiple platforms in a way that is not slow is a difficult challenge, especially for new developers.There are a bunch of tools out there (e.g. OpenCV) and other open source libraries that give just enough to support hardware manipulation,
but they need to be use in concert in order to be useful.This library attempts to string those things together, and provide an interface for everyone to use in python with a simplepip install.The primary focus is to provide an easy method to connect to one or more cameras and provide methods for streaming/recordig synchronized frames from the connected cameras.NOTE- The SkellyCam package is the primary camera backend for thefreemocapmarkeless motion capture software 💀✨https:github.com/freemocap/freemocaphttps://freemocap.orgInstallation and Usage0. Open a terminal (ideally with apythonvirtual environment activate)1. Install from PipEnter the command below and press 'Enter'pipinstallskellycam2. Launch SkellyCam GUIEnter the command below and press 'Enter'skellycam3. Success! 💀📸✨Hopefully a bunch of text scrolled by and a GUI popped up!If not, pleaseopen an issue on the github repoand we'll try to help you out :)Limitation (aka TO DO)  -Currently usesopencvto connect to cameras, so it won't recognize hardware that can't be connected withcv2.VideoCapture- Support for other camera hardware (e.g. FLIR) coming soonCamera streams are not synchronized at run time, but are saved and synchronized after the fact. This is time-consuming process that requres frames be saved in RAM until the recording is done. Both of these weaknesses have solutions in the works.New Python developersInstall Python 3.10Create  Virtual EnvironmentInstallskellycamTo install Python 3.10Windows Python3 Installation GuideMacOSX Python3 Installation GuideLinux Python3 Installation GuideHow to useRECOMMENDED -  Use the GUI!Launch the GUI by runningskellycamin a terminal.This is currently the most tested method for interacting with the cameras.Example 1 - Connecting to a single Camera and showing the video feedExample 1 Python FleIn this example, we connect a camera at index 0. Callingshowallows us to view the cameras frames allowing us
to see video.NOTE - Work in progress, no clean way to kill this window yetfromskellycamimportCameraConfig,Cameraif__name__=="__main__":cam1=Camera(CameraConfig(cam_id=0))cam1.connect()cam1.show()Example 2 - Connect to all available cameras and record synchronized videosNOTE - Experimental and under development, might be unstableExample 2 Python Flefromskellycam.experimentsimportMultiCameraVideoRecorderif__name__=="__main__":synchronized_video_recorder=MultiCameraVideoRecorder()synchronized_video_recorder.run()Contribution GuidelinesPlease read our contribution doc:CONTRIBUTING.mdMaintainersJon MatthisEndurance IdehenLicenseThis project is licensed under the APGL License - see theLICENSEfile for details.If the AGPL does not work for your needs, we are happy to discuss terms to license this software to you with a different agreement at a price point that  increases exponentially as you movespirituallyaway from theAGPL