WPILibC++ 2023.4.3-108-ge5452e3
cscore_cv.h File Reference
#include "cscore_c.h"
#include "cscore_oo.h"

Go to the source code of this file.

Classes

class  cs::CvSource
 A source for user code to provide OpenCV images as video frames. More...
 
class  cs::CvSink
 A sink for user code to accept video frames as OpenCV images. More...
 

Namespaces

namespace  cv
 
namespace  cs
 CameraServer (cscore) namespace.
 

Functions

void CS_PutSourceFrame (CS_Source source, struct CvMat *image, CS_Status *status)
 
uint64_t CS_GrabSinkFrame (CS_Sink sink, struct CvMat *image, CS_Status *status)
 
uint64_t CS_GrabSinkFrameTimeout (CS_Sink sink, struct CvMat *image, double timeout, CS_Status *status)
 
uint64_t cs::CS_GrabSinkFrameCpp (CS_Sink sink, cv::Mat *image, CS_Status *status)
 
uint64_t cs::CS_GrabSinkFrameTimeoutCpp (CS_Sink sink, cv::Mat *image, double timeout, CS_Status *status)
 
void cs::CS_PutSourceFrameCpp (CS_Source source, cv::Mat *image, CS_Status *status)
 
void cs::PutSourceFrame (CS_Source source, cv::Mat &image, CS_Status *status)
 
uint64_t cs::GrabSinkFrame (CS_Sink sink, cv::Mat &image, CS_Status *status)
 
uint64_t cs::GrabSinkFrameTimeout (CS_Sink sink, cv::Mat &image, double timeout, CS_Status *status)
 

Function Documentation

◆ CS_GrabSinkFrame()

uint64_t CS_GrabSinkFrame ( CS_Sink  sink,
struct CvMat *  image,
CS_Status status 
)

◆ CS_GrabSinkFrameTimeout()

uint64_t CS_GrabSinkFrameTimeout ( CS_Sink  sink,
struct CvMat *  image,
double  timeout,
CS_Status status 
)

◆ CS_PutSourceFrame()

void CS_PutSourceFrame ( CS_Source  source,
struct CvMat *  image,
CS_Status status 
)