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

Ai Project Final With Opencv Matplotlib

The document outlines an Artificial Intelligence project by students of Delhi Public School, detailing data visualization techniques using Matplotlib, including line graphs, bar charts, and pie charts. It also covers basic computer vision tasks using OpenCV, such as reading and displaying images and converting them to grayscale. The project is supervised by Mr. Ashutosh Shukla for the academic year 2025-26.
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)
6 views3 pages

Ai Project Final With Opencv Matplotlib

The document outlines an Artificial Intelligence project by students of Delhi Public School, detailing data visualization techniques using Matplotlib, including line graphs, bar charts, and pie charts. It also covers basic computer vision tasks using OpenCV, such as reading and displaying images and converting them to grayscale. The project is supervised by Mr. Ashutosh Shukla for the academic year 2025-26.
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

ARTIFICIAL INTELLIGENCE

PROJECT

NAME OF THE SCHOOL : DELHI PUBLIC SCHOOL

NAME OF STUDENTS :
Advay Srivastava
Aryan Yadav
Viraj Singh

CLASS : X-B

ACADEMIC YEAR : 2025-26

TEACHER IN CHARGE : Mr. Ashutosh Shukla


3. Data Visualization using Matplotlib

Line Graph
import [Link] as plt

days = [1, 2, 3, 4, 5]
temperature = [30, 32, 31, 33, 34]

[Link](days, temperature)
[Link]("Days")
[Link]("Temperature")
[Link]("Temperature vs Days")
[Link]()

Bar Chart
import [Link] as plt

subjects = ['Maths', 'Science', 'English', 'SST', 'AI']


marks = [85, 90, 78, 88, 92]

[Link](subjects, marks)
[Link]("Subjects")
[Link]("Marks")
[Link]("Marks in Subjects")
[Link]()

Pie Chart
import [Link] as plt

activities = ['Study', 'Sleep', 'Games', 'Others']


time = [6, 8, 4, 6]

[Link](time, labels=activities, autopct='%1.1f%%')


[Link]("Daily Activities")
[Link]()
4. Computer Vision using OpenCV

Read and Display Image


import cv2

image = [Link]("[Link]")
[Link]("Original Image", image)
[Link](0)
[Link]()

Convert Image to Grayscale


import cv2

image = [Link]("[Link]")
gray = [Link](image, cv2.COLOR_BGR2GRAY)

[Link]("Grayscale Image", gray)


[Link](0)
[Link]()

You might also like