Exemplo n.º 1
0
        private void faceDetectAndGreetToolStripMenuItem_Click(object sender, EventArgs e)
        {
            rr = new RoboRealm.RR_API();

            if (!rr.start())
            {
                return;
            }

            rr.execute("<Face_Detection><min_face_size>20</min_face_size><sort_array_y>1</sort_array_y><appearance_count>20</appearance_count><graphic_color/><result_type_index>0</result_type_index><display_orientation>1</display_orientation><display_y>1</display_y><minimum_tracking_confidence>30</minimum_tracking_confidence><text_size/><display_x>1</display_x><max_face_size>200</max_face_size><create_array>1</create_array><display_scale>1</display_scale><enable_tracking>1</enable_tracking><sort_array_x>1</sort_array_x><absent_count>20</absent_count></Face_Detection>");

            Face_Detect_and_Greet dlg = new Face_Detect_and_Greet(rr, conductor);

            dlg.ShowDialog();
        }
Exemplo n.º 2
0
        private void faceDetectAndGreetToolStripMenuItem_Click(object sender, EventArgs e)
        {
            rr = new RoboRealm.RR_API();

            if (!rr.start())
                return;

            rr.execute("<Face_Detection><min_face_size>20</min_face_size><sort_array_y>1</sort_array_y><appearance_count>20</appearance_count><graphic_color/><result_type_index>0</result_type_index><display_orientation>1</display_orientation><display_y>1</display_y><minimum_tracking_confidence>30</minimum_tracking_confidence><text_size/><display_x>1</display_x><max_face_size>200</max_face_size><create_array>1</create_array><display_scale>1</display_scale><enable_tracking>1</enable_tracking><sort_array_x>1</sort_array_x><absent_count>20</absent_count></Face_Detection>");

            Face_Detect_and_Greet dlg = new Face_Detect_and_Greet(rr, conductor);
            dlg.ShowDialog();
        }