Answers for "python cv2 canny overlay on image"

0

python cv2 canny overlay on image

edges = cv2.Canny(main_image,50,200)
edges_rgb = cv2.cvtColor(edges, cv2.COLOR_GRAY2RGB)

dst = cv2.addWeighted(main_image,1.0,edges_rgb,0.5,0)

cv2.imshow('DST Window', dst)
Posted by: Guest on September-20-2021

Python Answers by Framework

Browse Popular Code Answers by Language