All Projects → bethesirius → Chosuntruck

bethesirius / Chosuntruck

Euro Truck Simulator 2 autonomous driving solution

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Chosuntruck

Vehicle counting tensorflow
🚘 "MORE THAN VEHICLE COUNTING!" This project provides prediction for speed, color and size of the vehicles with TensorFlow Object Counting API.
Stars: ✭ 582 (-17.56%)
Mutual labels:  opencv
Opencv for ios book samples
"OpenCV for iOS" book samples
Stars: ✭ 640 (-9.35%)
Mutual labels:  opencv
Gazetracking
👀 Eye Tracking library easily implementable to your projects
Stars: ✭ 683 (-3.26%)
Mutual labels:  opencv
Apollo Platform
Collections of Apollo Platform Software
Stars: ✭ 611 (-13.46%)
Mutual labels:  autonomous-driving
Opencv
OpenCV projects: Face Recognition, Machine Learning, Colormaps, Local Binary Patterns, Examples...
Stars: ✭ 624 (-11.61%)
Mutual labels:  opencv
Makeup
让你的“女神”逆袭,代码撸彩妆(画妆)
Stars: ✭ 655 (-7.22%)
Mutual labels:  opencv
Javacv
Java interface to OpenCV, FFmpeg, and more
Stars: ✭ 5,543 (+685.13%)
Mutual labels:  opencv
Nomacs
nomacs is a free image viewer for windows, linux, and mac systems.
Stars: ✭ 694 (-1.7%)
Mutual labels:  opencv
Awesome Interaction Aware Trajectory Prediction
A selection of state-of-the-art research materials on trajectory prediction
Stars: ✭ 625 (-11.47%)
Mutual labels:  autonomous-driving
Carla
Open-source simulator for autonomous driving research.
Stars: ✭ 7,012 (+893.2%)
Mutual labels:  autonomous-driving
Faceswap
Real-time FaceSwap application built with OpenCV and dlib
Stars: ✭ 611 (-13.46%)
Mutual labels:  opencv
Cvui
A (very) simple UI lib built on top of OpenCV drawing primitives
Stars: ✭ 619 (-12.32%)
Mutual labels:  opencv
Captcha Break
captcha break based on opencv2, tesseract-ocr and some machine learning algorithm.
Stars: ✭ 667 (-5.52%)
Mutual labels:  opencv
Autorally
Software for the AutoRally platform
Stars: ✭ 595 (-15.72%)
Mutual labels:  autonomous-driving
Ultra Fast Lane Detection
Ultra Fast Structure-aware Deep Lane Detection (ECCV 2020)
Stars: ✭ 688 (-2.55%)
Mutual labels:  autonomous-driving
3dv tutorial
An Invitation to 3D Vision: A Tutorial for Everyone
Stars: ✭ 571 (-19.12%)
Mutual labels:  opencv
Mvision
机器人视觉 移动机器人 VS-SLAM ORB-SLAM2 深度学习目标检测 yolov3 行为检测 opencv PCL 机器学习 无人驾驶
Stars: ✭ 6,140 (+769.69%)
Mutual labels:  opencv
Head Pose Estimation
Head pose estimation by TensorFlow and OpenCV
Stars: ✭ 698 (-1.13%)
Mutual labels:  opencv
Opencv Machine Learning
M. Beyeler (2017). Machine Learning for OpenCV: Intelligent image processing with Python. Packt Publishing Ltd., ISBN 978-178398028-4.
Stars: ✭ 693 (-1.84%)
Mutual labels:  opencv
Highway Env
A minimalist environment for decision-making in autonomous driving
Stars: ✭ 674 (-4.53%)
Mutual labels:  autonomous-driving

ChosunTruck

Introduction

ChosunTruck is an autonomous driving solution for Euro Truck Simulator 2. Recently, autonomous driving technology has become a big issue and as a result we have been studying technology that incorporates this. It is being developed in a simulated environment called Euro Truck Simulator 2 to allow us to study it using vehicles. We chose Euro Truck Simulator 2 because this simulator provides a good test environment that is similar to the real road.

Features

  • You can drive a vehicle without handling it yourself.
  • You can understand the principles of autonomous driving.
  • (Experimental/Linux only) You can detect where other vehicles are.

How To Run It

Windows

Dependencies

  • OS: Windows 7, 10 (64bit)

  • IDE: Visual Studio 2013, 2015

  • OpenCV version: >= 3.1

  • Cuda Toolkit 7.5 (Note: Do an ADVANCED INSTALLATION. ONLY install the Toolkit + Integration to Visual Studio. Do NOT install the drivers + other stuff it would normally give you. Once installed, your project properties should look like this: https://i.imgur.com/e7IRtjy.png)

  • If you have a problem during installation, look at our Windows Installation wiki page

Required to allow input to work in Windows:

  • Go to C:\Users\YOURUSERNAME\Documents\Euro Truck Simulator 2\profiles and edit controls.sii from
config_lines[0]: "device keyboard `di8.keyboard`"
config_lines[1]: "device mouse `fusion.mouse`"

to

config_lines[0]: "device keyboard `sys.keyboard`"
config_lines[1]: "device mouse `sys.mouse`"

(thanks Komat!)

  • While you are in controls.sii, make sure your sensitivity is set to:
 config_lines[33]: "constant c_rsteersens 0.775000"
 config_lines[34]: "constant c_asteersens 4.650000"

Then:

  • Set controls.sii to read-only
  • Open the visual studio project and build it.
  • Run ETS2 in windowed mode and set resolution to 1024 * 768.(It will work properly with 1920 * 1080 screen resolution and 1024 * 768 window mode ETS2.)

Linux

Dependencies

Build the source code with the following command (inside the linux directory).

make

If you want the car detection function then:

make Drive

Then:

  • Run ETS2 in windowed mode and set its resolution to 1024 * 768. (It will work properly with 1920 * 1080 screen resolution and 1024 * 768 windowed mode ETS2)
  • It cannot find the ETS2 window automatically. Move the ETS2 window to the right-down corner to fix this.
  • In ETS2 Options, set controls to 'Keyboard + Mouse Steering', 'left click' to acclerate, and 'right click' to brake.
  • Go to a highway and set the truck's speed to 40~60km/h. (I recommend you turn on cruise mode to set the speed easily)
  • Run this program!

To enable car detection mode, add -D or --Car_Detection.

./ChosunTruck [-D|--Car_Detection]

Troubleshooting

See Our wiki page.

If you have some problems running this project, reference the demo video below. Or, open a issue to contact our team.

Demo Video

Lane Detection (Youtube link)

youtube link youtube link

Lane Detection + Vehicle Detection (Youtube link)

youtube link

Todo

  • For better detection performance, Change the Tensorbox to YOLO2.
  • The information from in-game screen have Restrictions. Read ETS2 process memory to collect more driving environment data.

Founders

Contributors

How To Contribute

Anyone who is interested in this project is welcome! Just fork it and pull requests!

License

ChosunTruck, Euro Truck Simulator 2 auto driving solution Copyright (C) 2017 chi3236, bethesirius, uoyssim

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].