CvMatch

所属分类:模式识别(视觉/语音等)
开发工具:C#
文件大小:0KB
下载次数:0
上传日期:2023-11-20 00:51:03
上 传 者sh-1993
说明:  任何窗口的模板匹配。
(Template Matching for any window.)

文件列表:
.idea/ (0, 2023-11-19)
.idea/.idea.CvWindowScanner/ (0, 2023-11-19)
.idea/.idea.CvWindowScanner/.idea/ (0, 2023-11-19)
.idea/.idea.CvWindowScanner/.idea/encodings.xml (169, 2023-11-19)
.idea/.idea.CvWindowScanner/.idea/indexLayout.xml (198, 2023-11-19)
.idea/.idea.TarkovTests/ (0, 2023-11-19)
.idea/.idea.TarkovTests/.idea/ (0, 2023-11-19)
.idea/.idea.TarkovTests/.idea/encodings.xml (169, 2023-11-19)
.idea/.idea.TarkovTests/.idea/indexLayout.xml (198, 2023-11-19)
CvWindowScanner.sln (800, 2023-11-19)
CvWindowScanner.sln.DotSettings (401, 2023-11-19)
CvWindowScanner/ (0, 2023-11-19)
CvWindowScanner/App.config (442, 2023-11-19)
CvWindowScanner/CvWindowScanner.csproj (16125, 2023-11-19)
CvWindowScanner/GameVariables/ (0, 2023-11-19)
CvWindowScanner/GameVariables/NotepadVars.cs (788, 2023-11-19)
CvWindowScanner/GameVariables/TarkovActions.cs (9493, 2023-11-19)
CvWindowScanner/GameVariables/TarkovTrackers.cs (1052, 2023-11-19)
CvWindowScanner/GameVariables/TarkovVars.cs (9991, 2023-11-19)
CvWindowScanner/Modules/ (0, 2023-11-19)
CvWindowScanner/Modules/BotAction.cs (2029, 2023-11-19)
CvWindowScanner/Modules/BotBase.cs (2612, 2023-11-19)
CvWindowScanner/Modules/BotControls.cs (1012, 2023-11-19)
CvWindowScanner/Modules/BotHotkeyHandler.cs (955, 2023-11-19)
CvWindowScanner/Modules/CvSearch.cs (10333, 2023-11-19)
CvWindowScanner/Modules/DXGICapturer.cs (9306, 2023-11-19)
CvWindowScanner/Modules/GameObject.cs (880, 2023-11-19)
CvWindowScanner/Modules/GameObjectManager.cs (487, 2023-11-19)
CvWindowScanner/Modules/GameState.cs (3019, 2023-11-19)
CvWindowScanner/Modules/WindowScanner.cs (4830, 2023-11-19)
CvWindowScanner/Program.cs (654, 2023-11-19)
CvWindowScanner/Properties/ (0, 2023-11-19)
CvWindowScanner/Properties/AssemblyInfo.cs (1366, 2023-11-19)
CvWindowScanner/Utils/ (0, 2023-11-19)
CvWindowScanner/Utils/DeveloperHotkeys.cs (1905, 2023-11-19)
CvWindowScanner/Utils/Extensions.cs (331, 2023-11-19)
CvWindowScanner/Utils/HotKey.cs (3321, 2023-11-19)
CvWindowScanner/Utils/InputWrapper.cs (28290, 2023-11-19)
... ...

# CvMatch ### Template Matching for any window, in C#. This project was an exploration of DXGI and OpenCv, intended as a base for some HID development projects. I've used this core for some automation projects as well, and I've left in some example code. We copy the DXGI buffer information and format it in a way that OpenCV can perform template matching, you can see the custom template matching functionality in [CvSearch.cs](https://github.com/Triscuit2311/CvWindowScanner/blob/master/CvWindowScanner/Modules/CvSearch.cs). The example here is for the game *'Escape From Tarkov'*, and implements a (quite useless) bot, that repeadly starts a match, and kills the player. This example makes use of all the currently implemented functionality: Template Matching; both for game states and object location and window-specific state machine callbacks (Syncronous and Async). As you can see in [Program.cs](https://github.com/Triscuit2311/CvWindowScanner/blob/master/CvWindowScanner/Program.cs), setting up a new window is easy. You just need to provide the callbacks, gamestates information, and set the (optional) thread sleep time. (Note that the DXGICapturer always runs in it's own thread.) While this was built with game windows as the primary targets, it works for anything that's on the screen.

近期下载者

相关文件


收藏者