0% found this document useful (0 votes)
4 views3 pages

Assignment_02

The assignment involves creating a pipeline using Python and OpenCV to detect ego lanes from a provided image and requires the installation of Anaconda and OpenCV. Students must submit a presentation with output frames from various stages of the pipeline, as well as a Python script. Additionally, students need to capture an image of an inanimate object and apply a similar pipeline, including the output frames in the same presentation for submission.

Uploaded by

Vineet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Assignment_02

The assignment involves creating a pipeline using Python and OpenCV to detect ego lanes from a provided image and requires the installation of Anaconda and OpenCV. Students must submit a presentation with output frames from various stages of the pipeline, as well as a Python script. Additionally, students need to capture an image of an inanimate object and apply a similar pipeline, including the output frames in the same presentation for submission.

Uploaded by

Vineet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Assignment No 2 – Pipeline Creation on two different frames (Python + OpenCV)

Part -1

1. Successfully install Anaconda and OpenCV as stated in Lecture No. 6 – ‘Getting Started with
Python and OpenCV’; for quick reference have added the link below with steps, please
follow the steps:

Note : Students who had submitted Assignment No. 1, would have already have the
required Software Environment, so they can directly jump to Part 2

a. Download Anaconda (which includes Python for Windows in the given link and follow
instruction for installation)
i. https://docs.anaconda.com/anaconda/install/windows/
ii. https://repo.anaconda.com/archive/Anaconda3-2020.02-Windows-x86_64.exe
→ DOWNLOAD Link

b. Download Anaconda (which includes Python for MacOS in the given link and follow
instruction for installation)
i. https://docs.anaconda.com/anaconda/install/mac-os/ → macOS graphical
install
ii. https://repo.anaconda.com/archive/Anaconda3-2020.02-MacOSX-x86_64.pkg →
DOWNLOAD link

c. System Requirements

d. OpenCV Installation steps :


i. Open Anaconda Navigator, something like this window would open up and Launch
Powershell Prompt
ii. After launching Powershell Prompt, will open up this type of window as shown
below

iii. Write the below mentioned command in owershell prompt, as shown below
pip install opencv-python

Part -2

1. Use Python Script with OpenCV library to perform below tasks –


I. Create a Pipeline in order for the System to detect the Ego Lanes Automatically with
one frame (Sample_02.jpg) attached in zip folder.

II. Output of Intermediate stages of Pipeline would be required as mentioned below –


a) Grayscale
b) Gaussian Blur
c) Canny
d) Segment
e) Hough
f) Output Frame

Note : NOT MANUAL Lanes Drawing on the Image, system must detect it. Please
refer the Lecture_10 : Lanes Detection OpenCV

2. Create a presentation with all the above Output frames mentioned in point no II and
submit the Python script along with Presentation. The Output frames will be from OpenCV
API (cv2.imshow()) not matplot lib.

3. Take an image from your mobile of any inanimate object of your choice (eg: book, bottle,
car, chair, laptop, etc.). Ensure the object is a contrast to its background. Create a Pipeline
similar to above task, with Output of following intermediate stages required:
a) Input frame
b) Grayscale
c) Gaussian Blur
d) Canny

4. Add all above-mentioned Output frames in point 3 to the previously created presentation.
Submit the point 1 & point 3 Python scripts along with this single presentation. The Output
frames will be from OpenCV API (cv2.imshow()) not matplot lib.

Submission of Files on e-learn Portal – One Presentation + Two separate Python Scripts +
Sample Image of inanimate Object, in zip folder with name as your Roll Number.

You might also like