0% found this document useful (0 votes)
164 views19 pages

Digital Image Processing

The document describes using HSV color spacing for object detection and tracking in images, live video, and games. It introduces the topic, discusses the HSV colorspace model and OpenCV functions used. Experimental methods include detecting blue balls in images and tracking objects in live video and games using HSV color spacing. Results show this approach can detect and track objects using hue values. The conclusion discusses lessons learned and suggestions for future enhancements like improving accuracy and applying it to online games.

Uploaded by

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

Digital Image Processing

The document describes using HSV color spacing for object detection and tracking in images, live video, and games. It introduces the topic, discusses the HSV colorspace model and OpenCV functions used. Experimental methods include detecting blue balls in images and tracking objects in live video and games using HSV color spacing. Results show this approach can detect and track objects using hue values. The conclusion discusses lessons learned and suggestions for future enhancements like improving accuracy and applying it to online games.

Uploaded by

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

DIGITAL IMAGE

PROCESSING
Introduction
  created an object detection and object tracking using HSV color spacing.
 two parts and 1 application
 In the first part , object detection and object tracking is implemented using HSV color
spacing on images
 In the second part , object detection and object tracking is implemented using HSV color
spacing in live video
 For application ,I implemented simple  hsv color spacing in game using python.
 Goal
 Use of HSV
 Reason we choose HSV
Background

 HSV (hue, saturation, value) colorspace is a model


 Hue values
 `cv::inRange` (OpenCV)
• OpenCV
  multiple types of filters in the future
  focusing on one object in the  image
Experimental Method

 Hsv colour space


 Object detection & tracking on images
 Object detection & tracking in live video
 Object detection & tracking in games.
Program Description

 There are more than 150 color space conversion methods in OpenCV
 Object detection and tracking on images using HSV color space
 image which is called img . Png
Continue..

 Suppose we want to detect only the blue balls


Continue..
Continue..
Continue..
Object detection and tracking in live camera
using HSV color space
 In order to change this code for the video input,I am  going to just add the cap variable
 which is the capture variable is equal to CB 2 dot video capture
 so I am  going to use this one
 and  capture the video from our default camera which is at the index 0
Object detection in games using HSV color
space
 I will be using the same methods and algorithms as done previously except few changes
Present Results
Object detection and tracking on images using HSV
color space
Continue..
Object detection and tracking in live camera
using HSV color space
Object detection in games using HSV color
space
Conclusion

 During the execution of the project , I learned a lot


 .Now, I am able to  detect and track any object  using hsv color spacing
Suggestions
 Here are some suggestions for future enhancement using this method:
 We can use this level with some more modifications at a complex level.
 We can modify this project in live online games .
 We can modify this algorithm into a faster and accurate one in the future.

You might also like