8000 GitHub - Kevin-Heleodoro/object_recognition: C++ application that can detect objects in real time video and image format.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Kevin-Heleodoro/object_recognition

Repository files navigation

Author: Kevin Heleodoro Date: February 24, 2024 Purpose: Notes on Project 3 for CS 5530

Task 1:

Options for thresholding values:

Compare the result if applying a gaussian blur to the image. How much of a benefit does it provide?

"Type: \n 0: Binary \n 1: Binary Inverted \n 2: Truncate \n 3: To Zero \n 4: To Zero Inverted";

Sunglasses

sunglasses

type 1 value 70 sunglasses_1

Fork

fork

type 1 value 70 fork_1

type 1 value 152 fork_2

Pen

pen

type 1 value 70 pen_1

Task 2:

Clean up the binary image:

  • Use morphological filtering to clean up the images.
    • noise reduction - morphological opening - white spots
    • filling holes - morphological closing - black spots

I will use the filling holes approach since the thresholded images seem to be displaying a lot of black spots. What are the black spots?

Sunglasses

Kernel size of 5 on morph_close did not produce any changes to the black spots present in sunglasses_1 No changes when using the morph_open with kernel size 5.

Setting a kernel size of 25 filled in the gaps and overlapped into the shadows.

type 1 value 70 kernel size 25 sunglasses_2

type 1 value 70 kernel size 15 sunglasses_3

Differences between 25 and 15 seem negligible. However, dropping down to kernel size 10 allowed for the black spots to show again.

Fork

value 152 kernel size 15 fork_3

The fork needs a lot more fine tuning. This is most likely due to the metallic aspects of it. There are many areas of light and dark in the same place.

Pen

value 70 kernel size 15 pen_2

Task 3

Segment into regions

Sunglasses

value 70 kernel size 15 min area 250 sunglasses_4

70C0

Fork

value 126 kernel size 3 min area 250 fork_4

Pen

value 91 kernel size 6 min area 250 pen_3

Task 4

Compute features for a region

Sunglasses

sunglasses_5

Fork

fork_5

Pen

pen_4

Hand

hand_1

About

C++ application that can detect objects in real time video and image format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0