Closed sanjaykv02 closed 1 year ago
Hi, the first thing is that please update your dependencies, {:evision, "~> 0.1.14"}
, because based on the return value, you're using an outdated version. This will solve the segmentation fault issue, and an error message will be returned if you use the same code.
Secondly, and to solve the real issue, OpenCV findContours
expects a binary image instead of a 3-channel BGR image. Please see the online docs or OpenCV's tutorial.
Respected Ma'am \ Sir, After updating evision, segmentation fault happened in the function Evision.findContours(Evision.mat, method, mode ).
code snippet:-