Beispiel #1
0
        public static void InfoForBrowserRestart_FindChatBox(MyPic mPic, ref SpecificResult_InfoForBrowserRestart info)
        {
            MyPic mClone = (MyPic)mPic.getClone();

            mClone.Threshold_AlmostBlack();
            ObjectDetection od = new ObjectDetection(mClone, true, true);

            info.ChatBox = detectOneObject(od, new Rectangle(),
                                           "111111111111111111111111111111111111111111111111111111111111111111111111111110000000001111111111111111111111111111111111111111111111111111111111111110000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000111000000000000000",
                                           new Size(19, 17));
        }
Beispiel #2
0
        public static void InfoForBrowserRestart_FindCloseX(MyPic mPic, Rectangle rWindow, ref SpecificResult_InfoForBrowserRestart info)
        {
            MyPic mClone = (MyPic)mPic.getClone();

            mClone.Threshold_AlmostBlack();
            ObjectDetection od = new ObjectDetection(mClone, true, true);

            info.CloseX = detectOneObject(od, rWindow,
                                          "0100000001111000001101110001110011101110000111110000001110000001111100001110111001110001111110000011",
                                          new Size(11, 11));
        }
Beispiel #3
0
        public static void InfoForBrowserRestart_FindFireFoxStart(MyPic mPic, Rectangle rWindow, ref SpecificResult_InfoForBrowserRestart info)
        {
            MyPic           mClone = (MyPic)mPic.getClone();
            ObjectDetection od     = new ObjectDetection(mClone, true, true);

            info.RestartFox = detectOneObject(od, rWindow,
                                              "0011111110001100111111000000100110111000000111111000001111100000011100000000111000000001011111000010011000000100011000111",
                                              new Size(12, 12));
        }