121 template <
typename T>
148 const std::string& host);
157 std::span<const std::string> hosts);
165 template <
typename T>
167 std::initializer_list<T> hosts);
A source that represents an Axis IP camera.
Definition: cscore_oo.h:558
A sink for user code to accept video frames as OpenCV images.
Definition: cscore_cv.h:117
A source for user code to provide OpenCV images as video frames.
Definition: cscore_cv.h:75
A sink that acts as a MJPEG-over-HTTP network server.
Definition: cscore_oo.h:860
A source that represents a USB camera.
Definition: cscore_oo.h:417
A sink for video that accepts a sequence of frames.
Definition: cscore_oo.h:712
A source for video that provides a sequence of frames.
Definition: cscore_oo.h:96
Singleton class for creating and keeping camera servers.
Definition: CameraServer.h:23
static cs::UsbCamera StartAutomaticCapture()
Start automatically capturing images to send to the dashboard.
static cs::MjpegServer StartAutomaticCapture(const cs::VideoSource &camera)
Start automatically capturing images to send to the dashboard from an existing camera.
static cs::MjpegServer AddServer(std::string_view name, int port)
Adds a MJPEG server.
static cs::AxisCamera AddAxisCamera(std::string_view name, std::string_view host)
Adds an Axis IP camera.
static cs::CvSource PutVideo(std::string_view name, int width, int height)
Create a MJPEG stream with OpenCV input.
static void AddServer(const cs::VideoSink &server)
Adds an already created server.
static cs::MjpegServer AddServer(std::string_view name)
Adds a MJPEG server at the next available port.
static cs::AxisCamera AddAxisCamera(std::string_view name, const std::string &host)
Adds an Axis IP camera.
static cs::MjpegServer AddSwitchedCamera(std::string_view name)
Adds a virtual camera for switching between two streams.
static cs::VideoSink GetServer(std::string_view name)
Gets a server by name.
static cs::CvSink GetVideo(const cs::VideoSource &camera)
Get OpenCV access to the specified camera.
static cs::AxisCamera AddAxisCamera(std::string_view name, const char *host)
Adds an Axis IP camera.
static cs::AxisCamera AddAxisCamera(const char *host)
Adds an Axis IP camera.
static void RemoveCamera(std::string_view name)
Removes a camera by name.
static constexpr uint16_t kBasePort
Definition: CameraServer.h:25
static constexpr int kSize320x240
Definition: CameraServer.h:27
static constexpr int kSize160x120
Definition: CameraServer.h:28
static void SetSize(int size)
Sets the size of the image to use.
static cs::UsbCamera StartAutomaticCapture(int dev)
Start automatically capturing images to send to the dashboard.
static cs::UsbCamera StartAutomaticCapture(std::string_view name, std::string_view path)
Start automatically capturing images to send to the dashboard.
static constexpr int kSize640x480
Definition: CameraServer.h:26
static cs::AxisCamera AddAxisCamera(std::span< const std::string > hosts)
Adds an Axis IP camera.
static void RemoveServer(std::string_view name)
Removes a server by name.
static void AddCamera(const cs::VideoSource &camera)
Adds an already created camera.
static cs::AxisCamera AddAxisCamera(std::string_view name, std::span< const std::string > hosts)
Adds an Axis IP camera.
static cs::UsbCamera StartAutomaticCapture(std::string_view name, int dev)
Start automatically capturing images to send to the dashboard.
static cs::CvSink GetVideo()
Get OpenCV access to the primary camera feed.
static cs::AxisCamera AddAxisCamera(const std::string &host)
Adds an Axis IP camera.
static cs::VideoSink GetServer()
Get server for the primary camera feed.
static cs::AxisCamera AddAxisCamera(std::string_view host)
Adds an Axis IP camera.
static cs::CvSink GetVideo(std::string_view name)
Get OpenCV access to the specified camera.
basic_string_view< char > string_view
Definition: core.h:520
EIGEN_CONSTEXPR Index size(const T &x)
Definition: Meta.h:479
::uint16_t uint16_t
Definition: Meta.h:54
Definition: AprilTagPoseEstimator.h:15