Browse Source

Deeskalation bei den Pfeilspitzen

master
Tim Zeuner 1 year ago
parent
commit
f6d346a3c1
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      AutonomousMode/lfr.cpp

+ 2
- 2
AutonomousMode/lfr.cpp View File

Point imageCenter = Point(originalImage.size().width/2.0, originalImage.size().height/2.0); Point imageCenter = Point(originalImage.size().width/2.0, originalImage.size().height/2.0);
Point focalPoint = Point(imageCenter.x, imageCenter.y+1000.0); Point focalPoint = Point(imageCenter.x, imageCenter.y+1000.0);


cv::arrowedLine(originalImage, focalPoint, contourCenter, Scalar(0,0,255), 2, 8);
cv::arrowedLine(originalImage, focalPoint, imageCenter, Scalar(0,0,255), 2, 8);
cv::arrowedLine(originalImage, focalPoint, contourCenter, Scalar(0,0,255), 2, 8, 0, 0.03);
cv::arrowedLine(originalImage, focalPoint, imageCenter, Scalar(0,0,255), 2, 8, 0, 0.03);
} }
return originalImage; return originalImage;
} }

Loading…
Cancel
Save