1#include <opencv2/opencv.hpp>
2#include <opencv2/imgproc.hpp>
11 cv::Size sz = scene.
frame.size();
16 Scene out = switchRGB2BGR(scene);
38 cv::Mat temp = s.
frame;
39 cv::cvtColor(temp, s.
frame, cv::COLOR_BGR2RGB);
50 cv::Mat temp = s.
frame;
54 cv::Rect rect(x, y, width, height);
55 cv::rectangle(temp, rect, cv::Scalar(0,255,0));
73 for(
int i = 0; i < 4; i++){
SceneCallback * sceneCallback
void SetBoundingBox(float upperLeftX, float upperLeftY, float lowerRightX, float lowerRightY)
void NextScene(Scene scene)
virtual void NextScene(Scene next)=0
float relativeBoundingBox[4]
cv::Mat frame
Member variable.
BoundingBox regionOfInterest
Member variable.