Skip to content
/ forza-ai Public

Lane detection and object recognition for Forza Horizon 4

Notifications You must be signed in to change notification settings

zspri/forza-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forza AI

A work-in-progress program to detect roadway boundaries and obstacles in Forza Horizon 4.

Requirements

  • Python 3.6
  • All modules in requirements.txt
  • RetinaNet for object recognition
    • Download retinanet.h5 and move it to the project's main directory

How to Run

2 monitors are required for the program to work properly.

  • Start Forza Horizon 4
  • python3 run.py and move the PyGame window to a secondary display
  • Focus the Forza game window
    • The pause menu will automatically be closed and the program will start capturing screenshots after a few seconds.

Screenshots

Lane Detection

Object Recognition

About

Lane detection and object recognition for Forza Horizon 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages