18#include <unordered_map>
83 bool initialize(
const std::vector<cam_info> &camera_configs);
101 std::shared_ptr<CameraBase>
getCamera(
size_t camera_id);
163 template <
typename CameraType>
164 bool createAndConnectCamera(
const cam_info &config);
171 std::unordered_map<size_t, std::shared_ptr<CameraBase>> cameras_;
178 mutable std::mutex mutex_;
181 bool initialized_{
false};
Base class for camera implementations in VOXL OpenVINS.
Camera queue fusion system for VOXL OpenVINS.
Monocular camera implementation for VOXL OpenVINS.
Stereo camera implementation for VOXL OpenVINS.
Manages all camera instances in the system.
std::shared_ptr< CameraBase > getCamera(size_t camera_id)
Get a camera by its ID.
void shutdown()
Shut down all cameras and clean up resources.
size_t getCameraCount() const
Get the number of cameras.
bool isInitialized() const
Check if the camera manager is initialized.
std::vector< std::shared_ptr< CameraBase > > getAllCameras()
Get all cameras.
bool initialize(const std::vector< cam_info > &camera_configs)
Initialize the camera manager with camera configurations.
static CameraManager & getInstance()
Get the singleton instance of the CameraManager.
Main namespace for VOXL OpenVINS server components.
Camera information and calibration data.