Assignment_02
Assignment_02
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
iii. Write the below mentioned command in owershell prompt, as shown below
pip install opencv-python
Part -2
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.