Skip to content

Commit

Permalink
Add Reference Images
Browse files Browse the repository at this point in the history
  • Loading branch information
JmePaz committed Dec 5, 2022
1 parent e9faa6f commit 90f801a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataSets/DetectObjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ def extract_objects(image_fname):
#gray scale and blurring
gray = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
blurred = cv2.GaussianBlur(gray, (1, 1), 1)
# using canny edge to show the edges
edged = cv2.Canny(blurred, 50, 255)
# using canny edge to show the edges [Update Canny edge]
edged = cv2.Canny(blurred, 75, 125)
edged = cv2.dilate(edged, None, iterations=1)
edged = cv2.erode(edged, None, iterations=1)

Expand Down
Binary file added DataSets/ImageTest/referenceImage2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DataSets/ImageTest/referenceImage3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DataSets/__pycache__/DetectObjects.cpython-38.pyc
Binary file not shown.

0 comments on commit 90f801a

Please sign in to comment.