// // Created by yann on 05/10/2025. // #include "Items.h" #include "Objects.h" int IDCARD(cv::Mat image ) { cv::Point top_left(155, 240); // Par exemple (100, 100) cv::Point bottom_right(410, 260); // Par exemple (300, 300) Objects Ligne1(top_left, bottom_right); // Carré de (100,100) à (300,300) Ligne1.draw(image); top_left = cv::Point(25, 270); // Par exemple (100, 100) bottom_right = cv::Point(410, 285); // Par exemple (300, 300) Objects Ligne2(top_left, bottom_right); // Carré de (100,100) à (300,300) Ligne2.draw(image); return 0; } int NumberIDCARD(cv::Mat image ) { cv::Point top_left(200, 45); // Par exemple (100, 100) cv::Point bottom_right(285, 55); // Par exemple (300, 300) Objects NumberIDCARD(top_left, bottom_right); // Carré de (100,100) à (300,300) NumberIDCARD.draw(image); return 0; } int NamesMask(cv::Mat image ) { cv::Point top_left(240, 96); // Par exemple (100, 100) cv::Point bottom_right(340, 110); // Par exemple (300, 300) Objects NamesMask(top_left, bottom_right); // Carré de (100,100) à (300,300) NamesMask.draw(image); return 0; }