Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Coin detection on images and detect object movement on video

Notifications You must be signed in to change notification settings

miguelTavora/Computer-Vision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Object detection in video and images

Coin detection in images

  1. The objective is to count the total amount of money in an image.
  2. To achieve this, binarization is applied to the image.
  3. Next, some morphological operations are applied to improve the quality of the results.
  4. Then, the extraction of connected components is performed.
  5. Based on the shape, exclude objects that are not coins.
  6. Afterward, a classifier is applied to determine the value of each coin based on its size.
  7. Finally, the total amount of money is calculated.
drawing drawing drawing
1. Input image 2. Binary image 3. Better image
drawing drawing drawing
4. Image with countours 5. Selected countours 7. Final result

Object detection in video

  1. The objective is to have a program that checks which object is in a video which can be a "person", "car" or "other".
  2. The algorithm calculates the difference between the previous frame and current frame, identifying what changed from the previous to the current.
  3. Then, it is extracted the active regions.
  4. Following that, it is classified the region using a median classifier based on aspect ratio.
  5. Finally, the path followed by the object is drawn. Note: The video is too large to be stored.
drawing drawing drawing
2. Difference between frames 3. Obtain countours 4. Box around the objects
drawing
5. Draw path of objects

About

Coin detection on images and detect object movement on video

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages