After a successful lane detection, it is time to extract valuable vectors from tensors.
In case you missed part 1: Autobahn Autopilot — Euro Truck Simulator 2
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.Sentdex
https://pythonprogramming.net/game-frames-open-cv-python-plays-gta-v/
https://www.youtube.com/user/sentdex
Python or not, does not matter. Find a way to grab a screenshot.
Please refer to grab.py
.
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.