Rectangle Detection

Rectangle Detection



현재 OpenCV 2.4.3 버전


기존의 Detection 방법 Reference

http://dasl.mem.drexel.edu/~noahKuntz/openCVTut7.html


http://opencv-users.1802565.n2.nabble.com/findContours-in-OpenCV-2-0-beta-td3740052.html



Mat 를 이용하는 방법

http://stackoverflow.com/questions/7838487/executing-cvwarpperspective-for-a-fake-deskewing-on-a-set-of-cvpoint


http://stackoverflow.com/questions/8667818/opencv-c-obj-c-detecting-a-sheet-of-paper-square-detection


그리고 Mat 기본 사용 문법


#include 
#include 
#include 

using namespace cv;

int main()
{
    Mat sudoku = imread("sudoku.jpg",0);
    namedWindow("Lines", CV_WINDOW_AUTOSIZE);

    imshow("Lines", sudoku);

}




댓글

Designed by JB FACTORY