# 基于游戏客户端截图的FPS透视挂检测

## 课题背景

随着互联网、移动互联网的普及， 在线游戏已成为民众娱乐的主要方式之一，各类 基于个人电脑端、手机端的游戏深受广大玩家喜爱，游戏行业得到了前所未有的发展，迎来了巨大的市场与机遇。但与此同时，市场中也涌现了大量不法分子借由制作外挂来牟利。外挂一般指帮助作弊玩家在游戏中获得相较于其他正常玩家更多的优势、资源的程序。外挂的存在会极大地破坏游戏的公平性， 降低正常玩家的游戏体验， 缩短游戏的生命周期。因此，各大游戏公司都在外挂检测技术的研究上投入了大量的人力与财力。

透视外挂常见于第一人称视角射击（ First Person Shoot，简称 FPS） 游戏。透视外挂通过在玩家看到的游戏界面上添加若干非游戏内的、外挂产生的元素的方式，在对局中为作弊玩家带来巨大的信息优势，从而使作弊玩家更有可能获胜或获得其他利益。

如图1和图2所示，游戏程序在增加了截图功能，玩家在击杀的时候，会记录玩家当前屏幕的截图，技术人员可以根据这些图片进行外挂检测，净化游戏环境。

![图1：准备阶段](https://noterminus.gitee.io/image_bed/images/fps1.png)

![图2：击杀时刻](https://noterminus.gitee.io/image_bed/images/fps2.png)

## 问题定义

根据玩家的屏幕截图，检测透视挂元素。

## 问题挑战

该问题主要存在以下挑战：

* 图片噪音大，游戏中元素繁多且复杂，且图片分辨率不一致；
* 如何解决标签稀缺的问题，即大量潜在外挂未在标签集合中，如何利用有限的外挂标记；
* 外挂随着时间推移会快速变异，如何实现快速及时地识别。

## 评价指标

分类准确率Precision，召回率Recall，F1-score，AUC

## 数据集描述

数据集按天分割，其中每天的数据由图片数据和标记数据两部分组成。

```
.
├── day_1
│   ├── images/*.png
│   └── labels.txt
├── day_2
├── day_3
├── ……
└── day_30
```

其中，images/\* 包含了一定数量的图片文件，labels.txt文件包含了含有透视挂元素的标记的images文件下的图片ID。

{% hint style="info" %}
标记数据（labels.txt)文件只列出了部分透视挂图片的id，并不代表除此之外的图片都不是透视挂。
{% endhint %}

## 联系我们

有任何问题，请联系 <linjianshi@corp.netease.com>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://fuxi-up-research.gitbook.io/open-project/research_topics/image_based_fps_perspective_plugin_detection.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
