การหาขอบภาพด้วย Canny

การประมวลผลภาพด้วย Python

Rebeca Gonzalez

Data Engineer

การตรวจจับขอบภาพ

โทเค็นโดมิโน

การประมวลผลภาพด้วย Python

การตรวจจับขอบภาพ

ขอบของเหรียญ

การประมวลผลภาพด้วย Python

การตรวจจับขอบภาพ

from skimage.feature import canny

# Convert image to grayscale coins = color.rgb2gray(coins)
# Apply Canny detector canny_edges = canny(coins)
# Show resulted image with edges show_image(canny_edges, "Edges with Canny")
การประมวลผลภาพด้วย Python

การตรวจจับขอบภาพ

การประมวลผลภาพด้วย Python

ตัวตรวจจับขอบ Canny

# Apply Canny detector with a sigma of 0.5
canny_edges_0_5 = canny(coins, sigma=0.5)

# Show resulted images with edges show_image(canny_edges, "Sigma of 1") show_image(canny_edges_0_5, "Sigma of 0.5")
การประมวลผลภาพด้วย Python

ตัวตรวจจับขอบ Canny

การประมวลผลภาพด้วย Python

มาฝึกกันเถอะ!

การประมวลผลภาพด้วย Python

Preparing Video For Download...