How to Image Scan In C# .NET! [ Tutorial ]
#swedz #csharp #programming
Hello there, today I had a bit of a special video ideaπ΅βπ« We are going to scan the screen for images in C#! That's right, you will learn how to get the coordinates of a picture on the screen then draw an esp box around it. I can remember how this can be used in various scenarios and I hope that it can be of use. This method will not detect variations of a picture, only if it's to the exact of the original. We are not using anything complicated here.π€
In this tutorial, we'll cover essential concepts of looping through bitmaps to find confirm whether an image is located on the screen or not. However, this is incredibly simplifed and will not detect images that are displayed 1:1! So even if 1 pixel is covered it will not detect the picture, or if it's another size. But, this is only the basics and I am sure you can code something beautiful with it π
Always research whatever process you will try the automation on, some processes doesn't allow it π.
[ Timestamps β]
0:00 Introduction
1:14 Showcase
2:30 Tutorial starts here
2:45 Classes
3:47 Scan for image from screenshot
4:57 Is image at location method
6:48 Adding ImGui visuals
7:55 window overlay
8:50 Drawing boxes
10:48 Getting snippet from screen
12:22 Sample code to scan for snippet
14:27 Testing results
[ Links π±οΈ]
Access the code directly with my coffee page!:
https://www.buymeacoffee.com/Swedz
Become a member and use exclusive emotes/emojis!:
https://www.youtube.com/channel/UC4et5EGjwrSzE7nA6AlZ37g/join
Subscribe to the channel: https://www.youtube.com/channel/UC4et5EGjwrSz..
Discord : https://discord.gg/HqpKFxFAhM
[ Credits β¨]
You guys β€οΈ