This repository is dedicated to the exploration and implementation of line detection algorithms using computer vision.
Before diving into the algorithms, make sure you have the required tools and libraries installed.
- Setup your development environment.
- Take a look in the notebooks in the src folder to see examples of the algorithms in action.
- Run the testing streamlit application from the root folder.
- Install the additional required libraries:
pip install -r src/app/requirements.txt - Navigate the the src folder and run the following command:
streamlit run app/main.py
- Install the additional required libraries:
The app can run line detection on three kinds of input, chosen from the "Select input source" toggle at the top of the page:
- Sample Images — the images bundled in the
imagesfolder. - Upload Images — one or more of your own
.jpg/.pngfiles. - Camera Feed — a frame captured live from a connected camera (on macOS cameras are listed by their real device names).
- Great Video on Line Detection
- Road Image Link: https://github.com/rslim087a/road-image (for Computer Vision tutorial 1)
- Road Video Link: https://github.com/rslim087a/road-video (for last Computer Vision tutorial)