{"id":27002,"date":"2026-09-27T20:02:20","date_gmt":"2026-09-27T18:02:20","guid":{"rendered":"https:\/\/www.itspy.cz\/thesis\/object-detection-and-behavior-optimization-of-agents-incomputer-game\/"},"modified":"2026-09-27T20:05:01","modified_gmt":"2026-09-27T18:05:01","slug":"object-detection-and-behavior-optimization-of-agents-incomputer-game","status":"publish","type":"thesis","link":"https:\/\/www.itspy.cz\/en\/thesis\/object-detection-and-behavior-optimization-of-agents-incomputer-game\/","title":{"rendered":"OBJECT DETECTION AND BEHAVIOR OPTIMIZATION OF AGENTS IN\nCOMPUTER GAME"},"content":{"rendered":"<p>This thesis presents a sample-efficient, hybrid<br \/>\nperception-action<br \/>\nframework for autonomous navigation and resource gathering<br \/>\nin<br \/>\ncomplex 3D virtual environments using the MMORPG World of<br \/>\nWarcraft. Traditional end-to-end deep reinforcement<br \/>\nlearning models<br \/>\nsuffer from severe sample inefficiency when simultaneously<br \/>\nprocessing<br \/>\nhigh-dimensional screen pixels and learning behavioral<br \/>\nstrategies.<br \/>\nWe address this bottleneck by decoupling visual perception<br \/>\nfrom policy optimization using a multi-stage pipeline.<br \/>\nFirst, a low-latency window interception utility captures<br \/>\nrealtime<br \/>\nframe buffers for a fine-tuned, single-stage YOLOv8 object<br \/>\ndetection model. This model is trained on a custom dataset<br \/>\naugmented<br \/>\nwith geometric translations, Gaussian noise, and brightness<br \/>\nshifts to ensure environmental robustness. The computer<br \/>\nvision layer compresses raw graphical streams into a dense,<br \/>\n19-<br \/>\ndimensional object-centric state vector containing relative<br \/>\ncoordinates,<br \/>\nsizes, and tracking parameters of targets and threats.<br \/>\nDownstream,<br \/>\na Deep Q-Network (DQN) policy inside a custom Gymnasium<br \/>\nenvironment utilizes these structured vectors for<br \/>\ndecisionmaking.<br \/>\nGuided by a context-driven, three-phase reward function<br \/>\n(Wandering, Hunting, Collecting), the agent learns to<br \/>\noptimize its<br \/>\nlocomotion trajectories.<br \/>\nEmpirical results demonstrate steady behavioral<br \/>\nstabilization<br \/>\nin fewer than 1,000 steps. The trained agent successfully<br \/>\neliminates<br \/>\nredundant rotational movements, bypasses active hazards,<br \/>\nand executes low-level OS input injection via DirectInput<br \/>\nemulations<br \/>\nto harvest resource nodes without invasive memory<br \/>\nmanipulation.<br \/>\nThis approach provides a sample-sparse, non-invasive<br \/>\nalternative for real-time automation in complex virtual<br \/>\nworlds.<\/p>\n","protected":false},"featured_media":26767,"template":"","meta":{"_acf_changed":false,"_links_to":"","_links_to_target":""},"university":[224,437],"thesis-year":[466],"class_list":["post-27002","thesis","type-thesis","status-publish","has-post-thumbnail","hentry","thesis-year-466"],"acf":{"autor":"Roland Marek Rak","portret":"","vedouci":"doc. RNDr. \u013dubom\u00edr Antoni, PhD."},"_links":{"self":[{"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/thesis\/27002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/thesis"}],"about":[{"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/types\/thesis"}],"version-history":[{"count":1,"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/thesis\/27002\/revisions"}],"predecessor-version":[{"id":27057,"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/thesis\/27002\/revisions\/27057"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/media\/26767"}],"wp:attachment":[{"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/media?parent=27002"}],"wp:term":[{"taxonomy":"university","embeddable":true,"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/university?post=27002"},{"taxonomy":"thesis-year","embeddable":true,"href":"https:\/\/www.itspy.cz\/en\/wp-json\/wp\/v2\/thesis-year?post=27002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}