ETS2Autopilot icon indicating copy to clipboard operation
ETS2Autopilot copied to clipboard

Question about ROI

Open zappybiby opened this issue 7 years ago • 2 comments

First just wanted to say what an awesome project!!

I wanted to know if you thought it might be beneficial to change the default ROI from the windscreen of the "driver seat" camera to the "bumper" camera.

Since it seems the GUI wants us to set the area to fit the windscreen, it seems like going directly using the bumper camera make more consistent recordings from the same angle.

See an example of my ETS2 autopilot: https://www.youtube.com/watch?v=DYe3aTquavc

One disadvantage to this would be that it would increase the ROI area (and subsequently decrease performance) to cover the larger width that the roads take up from that perspective. We used OpenCV's getPerspectiveTransform to manage that since we found lanes using Hough Lines but I guess TensorFlow wouldn't really benefit from that as much.

zappybiby avatar Aug 25 '17 23:08 zappybiby

This seems like a interesting idea. Bumper camera would allow tensorflow to see more of the road and lanes and without angle problems. I thought about bumper camera too heh.

Caleb-J773 avatar Aug 25 '17 23:08 Caleb-J773

At the very first beginning I also thought about this position. I rejected this idea because it was hard to play with this camera. But you can try it out and share the result with us. I'm a bit curious :D

BrunoTh avatar Aug 27 '17 09:08 BrunoTh