Lane detection ML training and steering modes in Euro Truck Simulator 2 (ETS2).
A repository is offered here: https://github.com/lotdcotw/ets2ap
It is written with Python.
Before we continue; KUDOS!
Zou Q, Jiang H, Dai Q, Yue Y, Chen L and Wang Q
Robust Lane Detection from Continuous Driving Scenes Using Deep Neural Networks, IEEE Transactions on Vehicular Technology, 2019.
Python or not, does not matter. Find a way to grab a screenshot.
Please refer to
pip3 install pyscreenshot
img = ImageGrab.grab(bbox=(2, 36, 1280, 720+36), backend="mss", childprocess=False)
Operates in the middle of a triangle; customer, product, and software.