轮廓周围绘制矩形
#include<opencv2/opencv.hpp>
#include<iostream>
using namespace cv;
using namespace std;
int threshold_value = 50;
int threshold_max = 255;
Mat src, dst;
const char* output = "output_image";
void contours_demo(int,void*);
RNG rng;
int main() {
src = imread("D:/b.jpeg");
if (src.empty()) {
printf(