- Download the newest programme.py file from the release.
- Download the newest Python Interpreter. Make sure you can pip install.
- Run programme.py in the Python console. The programme will automaticly install all necessary libraries by itself or, if needed, update them. It will also automaticly install the model. The first startup process may take a view minutes.
- Once the programme has loaded it will show you
path:
. Write there the full path to your video file you want to process.
E.g.path: C:\Users\Levin\Downloads\test.mp4
- Wait until the programme has finished. As soon as it's done, it will save the new video file in the directory where programme.py is saved. It is named original_file_name_output.mp4
- To exit the programme write
exit
as path. - To uninstall the programme write
uninstall
as path.
ERROR: Failed to install required libraries
Start the programme again. If the programme still crashes after the second restart, install the libraries specified in the console manually.
ERROR: Automatic folder to save and load model not found
Specify a complete storage path where the model is to be saved. Remember this path as you will need it for future uses of the programme.
ERROR: Download failed
Start the programme again. If the programme still crashes after the second restart, download the v.1.3.0.model file. Save the file in any folder. Finally, enter the folder path in the console when prompted. IMPORTANT: do not change the name of the .model file.
ERROR: Model not found
Check the storage path of the model you specified. Also check the name of the downloaded file.
- Memory: >5GB
- RAM: >5GB
- Python 3.8, 3.9
- dill 0.3.4
- numpy 1.21.2
- opencv-python 4.5.3.56
- psutil 5.8.0
- requests 2.26.0
For this project I used the CurveLanes Dataset. With the programme data preparation.py I wrote a little scipt to convert the datapoints into a more uniform way. To do so, I converted all the information from the .JSON files into pictures with binary segmentation.
MIT License
Copyright (c) 2022 Levin Hinder
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.