Home > Back-end >  Is there anyone who can save me
Is there anyone who can save me

Time:04-21

Prospective graduate students by the teacher to do project, what all don't secretly tears
Problem description: the seniors recently in a car, one piece is with a depth camera to distance in front of the object, and then for obstacle avoidance, but because the body width less than the camera receives images, some outside the trolley track objects will also be processed into, so have to do is put this image segmentation, to handle on both sides of the picture is not only deal with the middle,
Requirements of the problem: to fitting the two straight lines on the images, the images to be processed, in a straight line to line does not handle, and a gradient, similar to the reverse image of the two lines,
Now I can find a similar is ITAcmen1vip bosses, but is based on the android, though the language is c + + but I won't change,,,,,,,,

Good figure and the procedure, but it is Android,

Attach bosses do this https://blog.csdn.net/ITAcmen1vip/article/details/99865135
Kneel down! Ahhh

CodePudding user response:

Is anyone here

CodePudding user response:

Fyi:
 
Mat img, smallImg;
The Rect r;

Img=imread (" image. JPG ", 1);
R.x=img. Cols/10;
R.y=img. Rows/3;
Truly idth=img. Cols * 8/10;
R.h. eight=img. Rows * 2/3;
SmallImg=img (r);
  • Related