Skip to content

Substrate22/Woodpecker_Autonomy_v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Woodpecker_Autonomy_v1

This is a working version of the line detection and steering program for the Woodpecker LSEV as part of my senior capstone design team at Oregon State University.

Requirements

  • Python ver. 3.8+
  • pip (Python package manager)
  • git (version control manager)

Step one: clone this repository

Type into your terminal/shell:

git clone https://github.com/Substrate22/Woodpecker_Autonomy_v1.git

To setup, you need to install the following dependicies via:

cd Woodpecker_Autonomy_v1
pip install numpy
pip install opencv-python

To run, type:

python3 line_following_v1.py

Notes

  • Video input: In the process_frame function, cv.VideoCapture(0) sets the laptop webcam as the video input source. To use a USB camera, you might need to try indexes 2, 3, or 4.
  • The camera is meant to be placed at an angle close to the ground with the line at the same field of view as the trapezoidal frame. Try placing a rectangular object in front of a blank background and orienting the edges to match the trapezoid, as shown below:
Image of the video frame, Canny edge detection, and drawing the line edges and center

About

This is a working version of the line detection and steering program for the Woodpecker LSEV as part of my senior capstone design team at Oregon State University.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages