Skip to content

Latest commit

 

History

History
27 lines (27 loc) · 774 Bytes

README.md

File metadata and controls

27 lines (27 loc) · 774 Bytes

low_ploy

result

input_image

result_image

input_image

result_image

input_image

result_image

requirement

opencv

create an object

TriangleStyle t("xxxxxxxxxx.jpg", high_threshold, low_threshold, random_amount)
"xxxxxxxxxx.jpg" means your picture name
high_threshold and low_threshold control the high threshold and low threshold of Canny operator
random_amount is the number of random points.

show the result image

call the member function show(), like t.show()

save the result image

call the member function save(), like t.save()

detail

我的博客