#include <opencv2\core\core.hpp>
#include <opencv2\highgui\highgui.hpp>
#include <opencv2\opencv.hpp>
#include <vector>
using namespace std;
using namespace cv;
int H_thre = 146;
int S_thre = 103;
int V_thre = 220;
void H_treament(int pos)
{
H_thre = pos;
}
void S_treament(int pos)
{
S_thre = pos;
}
void V_treament(int pos)
{
V_thre = pos;
}
int main()
{
VideoCapture capture(0); //创建VideoCapture对象
#include <opencv2\highgui\highgui.hpp>
#include <opencv2\opencv.hpp>
#include <vector>
using namespace std;
using namespace cv;
int H_thre = 146;
int S_thre = 103;
int V_thre = 220;
void H_treament(int pos)
{
H_thre = pos;
}
void S_treament(int pos)
{
S_thre = pos;
}
void V_treament(int pos)
{
V_thre = pos;
}
int main()
{
VideoCapture capture(0); //创建VideoCapture对象
if (!capture.isOpened