Skip to content

Latest commit

 

History

History

lane-detector

This repository is for the article "Tutorial: Build a lane detector"(手把手带你开始计算机视觉项目 | 实战项目,开放源码) published on GitChat.

lane_detection pipeline

Set Up

``detector.py`` partition
            
        def do_canny(frame):
            # TODO
            return None
            
        
``checkpoint2.py``
            
            def do_segment(frame):
                # TODO
                return None
            
            
``checkpoint3.py``
          
            def calculate_lines(frame, lines):
                # TODO
                return None
          
          
``checkpoin5.py``
            
            def calculate_coordinates(frame, parameters):
                # TODO
                return None
            
            
``checkpoin5.py``
            
            def visualize_lines(frame, lines):
                # TODO
                return None
            
            
``checkpoint5.py``
            
                # TODO
                ```
            
            
``solution.py``

Run

  1. install opencv
pip install opencv-python
  1. run solution.py
python3 solution.py

Updates...

03/20/2021
Article published on Gitchat@Gitbook.

gitchat profile

订阅专栏 https://gitbook.cn/gitchat/activity/5fddbca4201c01667e62c3c4