Page 1007 - 완) I MDP 프로젝트 작품 보고서(전체과 1학년)1.6
P. 1007

void Init();                                    //처음  초기화
            void DisplayInit();                             //화면  초기화
            void DisplaySetting();                                  //화면  그리기
            void TrashDetect();                             //쓰레기확인

            void SerchTrash(Mat thresholdImage);                    //쓰레기위치  확인
            void CanDetect();                               //쓰레기통  위치  확인
            void HeaderDetect();                                    //방향  감지


            IplImage* image;        //메인  화면
            CvCapture* capture; //카메라

            Mat MainMat;            //Main Mat


            Rect sensor;            //외부  감지  영역
            Rect insidesensor;      //내부  감지  영역

            Rect local[9];                  //감지  영역  번호


            /*빨간색인  쓰레기통을  검색하기위해  색을  지정해두었다*/
            // red color
            int iLowH = 18;
            int iHighH = 179;



            int iLowS = 88;
            int iHighS = 255;



            int iLowV = 107;
            int iHighV = 255;


            /*쓰레기통  정방향에  파란색으로  칠해져있어  쓰레기통의  방향을  찾아낸다*/
            //blue color
            int biLowH = 110;

            int biHighH = 130;


            int biLowS = 150;
            int biHighS = 255;



            int biLowV = 150;




                                                        -  1000  -
   1002   1003   1004   1005   1006   1007   1008   1009   1010   1011   1012