Package: a-cv-sift-detection
Detecting objects using openCV and siftfroma_cv_sift_detectionimportSiftMatchingOnScreenneedle_images=[r"C:\detectiontest\media_manager_icon--744x194--1250x738.png",r"C:\detectiontest\chrome_icon--643x199--1140x734.png",r"C:\detectiontest\einstellungen_icon--537x200--1038x735.png",r"C:\detectiontest\kamera_icon--426x203--931x738.png",r"C:\detectiontest\spiele_und_gewinne_icon--1347x0--1920x452.png",r"C:\detectiontest\bluestacks_x_icon--1101x0--1643x449.png",r"C:\detectiontest\roblox_icon--833x0--1342x448.png",r"C:\detectiontest\systemapps_icon--528x0--1067x448.png",r"C:\detectiontest\gamecenter_icon--244x0--781x451.png",r"C:\detectiontest\playstore_icon--0x0--478x451.png",]siftdetect=SiftMatchingOnScreen()siftdetect.configure_monitor(monitor=1)siftdetect.get_needle_images(needle_images,scale_percent=100)whileTrue:siftdetect.get_screenshot_and_start_detection(checks=50,trees=5,debug=False,max_distance=100,minimum_matches_per_group=5,show_results=True,sleep_time_for_results=0.1,quit_key_for_results="q",scale_percent=100,)sleep(5)whileTrue:siftdetect.get_screenshot_and_start_detection(checks=50,trees=5,debug=False,max_distance=100,minimum_matches_per_group=5,show_results=False,sleep_time_for_results=0.1,quit_key_for_results="q",scale_percent=100,)print(siftdetect.df)0956.575073...C:\detectiontest\media_manager_icon--744x194--...1960.470520...C:\detectiontest\media_manager_icon--744x194--...2961.128601...C:\detectiontest\media_manager_icon--744x194--...3964.380310...C:\detectiontest\media_manager_icon--744x194--...4965.097656...C:\detectiontest\media_manager_icon--744x194--..............420257.061249...C:\detectiontest\playstore_icon--0x0--478x451.png421263.247589...C:\detectiontest\playstore_icon--0x0--478x451.png422263.265106...C:\detectiontest\playstore_icon--0x0--478x451.png423263.682190...C:\detectiontest\playstore_icon--0x0--478x451.png424267.074219...C:\detectiontest\playstore_icon--0x0--478x451.png[425rowsx7columns]x...needle0762.877319...C:\detectiontest\media_manager_icon--744x194--...1781.889160...C:\detectiontest\media_manager_icon--744x194--...2816.500549...C:\detectiontest\media_manager_icon--744x194--...3816.339050...C:\detectiontest\media_manager_icon--744x194--...4816.586853...C:\detectiontest\media_manager_icon--744x194--..............344257.061249...C:\detectiontest\playstore_icon--0x0--478x451.png345263.247589...C:\detectiontest\playstore_icon--0x0--478x451.png346263.265106...C:\detectiontest\playstore_icon--0x0--478x451.png347263.682190...C:\detectiontest\playstore_icon--0x0--478x451.png348267.074219...C:\detectiontest\playstore_icon--0x0--478x451.png[349rowsx7columns]Noobjectstoconcatenatex...needle0881.638245...C:\detectiontest\media_manager_icon--744x194--...1935.431885...C:\detectiontest\media_manager_icon--744x194--...2955.275879...C:\detectiontest\media_manager_icon--744x194--...3941.385254...C:\detectiontest\media_manager_icon--744x194--...4817.367920...C:\detectiontest\media_manager_icon--744x194--..............302392.155945...C:\detectiontest\playstore_icon--0x0--478x451.png303428.587921...C:\detectiontest\playstore_icon--0x0--478x451.png304431.010773...C:\detectiontest\playstore_icon--0x0--478x451.png305476.075165...C:\detectiontest\playstore_icon--0x0--478x451.png306323.301575...C:\detectiontest\playstore_icon--0x0--478x451.png[307rowsx7columns]x...needle0881.638245...C:\detectiontest\media_manager_icon--744x194--...1937.933167...C:\detectiontest\media_manager_icon--744x194--...2935.431885...C:\detectiontest\media_manager_icon--744x194--...3955.450562...C:\detectiontest\media_manager_icon--744x194--...4941.385254...C:\detectiontest\media_manager_icon--744x194--..............303417.567749...C:\detectiontest\playstore_icon--0x0--478x451.png304429.982422...C:\detectiontest\playstore_icon--0x0--478x451.png305438.710541...C:\detectiontest\playstore_icon--0x0--478x451.png306445.110016...C:\detectiontest\playstore_icon--0x0--478x451.png307458.563171...C:\detectiontest\playstore_icon--0x0--478x451.png[308rowsx7columns]x...needle0996.570251...C:\detectiontest\media_manager_icon--744x194--...11011.908936...C:\detectiontest\media_manager_icon--744x194--...21015.692566...C:\detectiontest\media_manager_icon--744x194--...31056.677734...C:\detectiontest\media_manager_icon--744x194--...41071.151245...C:\detectiontest\media_manager_icon--744x194--..............345257.061249...C:\detectiontest\playstore_icon--0x0--478x451.png346263.247589...C:\detectiontest\playstore_icon--0x0--478x451.png347263.265106...C:\detectiontest\playstore_icon--0x0--478x451.png348263.682190...C:\detectiontest\playstore_icon--0x0--478x451.png349267.074219...C:\detectiontest\playstore_icon--0x0--478x451.png[350rowsx7columns]x...needle0996.570251...C:\detectiontest\media_manager_icon--744x194--...11011.908936...C:\detectiontest\media_manager_icon--744x194--...21015.692566...C:\detectiontest\media_manager_icon--744x194--...31056.677734...C:\detectiontest\media_manager_icon--744x194--...41071.151245...C:\detectiontest\media_manager_icon--744x194--..............352257.061249...C:\detectiontest\playstore_icon--0x0--478x451.png353263.247589...C:\detectiontest\playstore_icon--0x0--478x451.png354263.265106...C:\detectiontest\playstore_icon--0x0--478x451.png355263.682190...C:\detectiontest\playstore_icon--0x0--478x451.png356267.074219...C:\detectiontest\playstore_icon--0x0--478x451.png[357rowsx7columns]x...needle0762.877319...C:\detectiontest\media_manager_icon--744x194--...1781.889160...C:\detectiontest\media_manager_icon--744x194--...2816.500549...C:\detectiontest\media_manager_icon--744x194--...3816.339050...C:\detectiontest\media_manager_icon--744x194--...4816.586853...C:\detectiontest\media_manager_icon--744x194--..............343257.061249...C:\detectiontest\playstore_icon--0x0--478x451.png344263.247589...C:\detectiontest\playstore_icon--0x0--478x451.png345263.265106...C:\detectiontest\playstore_icon--0x0--478x451.png346263.682190...C:\detectiontest\playstore_icon--0x0--478x451.png347267.074219...C:\detectiontest\playstore_icon--0x0--478x451.png[348rowsx7columns]