Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please implement a program to recognize simple objects and basic shapes in an input image as shown in the figures below. Consider the following regulations:

Please implement a program to recognize simple objects and basic shapes in an input
image as shown in the figures below. Consider the following regulations:
The input: A colored image.
The output:
The same input image with a label above each object to identify it from the
list below
House and its type (Class 1 or Class 2), Tree and its type (Class 1 or
Class 2), Car and Truck
Print the name, the color and the number of basic shapes in the image
(Circle, triangle, rectangle or square) on the command prompt as a list
(Dont display them on the image).
Each student must complete the assignment individually.
Only C, C++, or Python programming languages can be used, in conjunction
with OpenCV.
Simple objects:
Page 1 of 2
Page 2 of 2
An example of an input image:
The output image with the corresponding text:
Circle, Magenta,1
Circle, Blue, 1
Circle, Cyan, 1
Circle, Black, 2
Circle, Yellow, 2
Triangle, Green, 1
Triangle, Red 1
Triangle, Blue, 2
Triangle, Cyan, 1
Rectangle, Yellow, 2
Rectangle, Cyan, 2
Rectangle, Black, 1
Rectangle, Red, 1
Rectangle, Magenta, 1
Square, Green, 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions