
#include "pch.h" #include #include using namespace cv; using namespace std; void onMouse(int, int, int, int, void *); void dusflq(Point2f, Point2f, Point2f); int cnt = 0; double a, b, c; Mat image(500, 500, CV_8UC3, Scalar(255, 100, 100)); Point2f m_pt1, m_pt2, m_pt3; int main() { line(image, Point(0, 480), Point(499, 480), Scalar(0), 1); // x축 line(image, Point(20, 0), Point(20, 499), Scalar(0)..
C, C++/openCV
2019. 5. 2. 21:00
1. 두 개의 네모를 회전 시켜주세요. 2. 두 개의 네모를 포함한 bounding 입니다. 3. bounding 네모를 그려주세요. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 #include "pch.h" #include #include using namespace cv; using namespace std; int main() { for (int deg = 0; deg
C, C++/openCV
2019. 3. 19. 14:21
Blog is powered by
Tistory / Designed by
Tistory
Contact: j0n9m1n1@gmail.com
Contact: j0n9m1n1@gmail.com