How to go about searching for a player models in COD with OpenCV

前端 未结 4 1944
南旧
南旧 2021-02-04 16:16

I am attempting to create a program that can find human figures in video of game play of call of duty. I have compiled a list of ~2200 separate images from this video that eithe

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-04 17:11

    It's not crystal clear to me what you are trying to accomplish, but it seems that you are trying to do real-time player tracking (or something similar) using the wrong approach. Human tracking is something that one would expect to be done through digital image/video processing of pictures of real human beings.

    Depending on your purpose, player tracking is something that should not be done through image processing because it can be very demanding on the CPU. Tracking player models inside a game is a practice usually used for cheating applications, and it requires one to either inject code on the game process, or be the middle man between the game engine and the graphics driver. Since the game client always knows where the other players are (even if you cannot see them), one could search the process memory for the X,Y,Z coordinates of the players, or intercept graphics rendering calls searching for the location where a player model will be rendered on the screen (which can be a little tricky, since it requires a basic understanding of OpenGL/DirectX and debugging skills).

    I'm not sure if its OK to detail such techniques on StackOverflow, but I will say that this topic has been largely discussed on several reverse engineer/cheating forums like GameDeception.

提交回复
热议问题