sorry if this issue is a little incoherent but on android when I use contour finder and sort by size it returns the smaller contours to the largest one -- not the largest to the smallest one
my intuition is that somehow the contour area is negative (like how opencv gives negative values when it finds holes) but I am not sure -- going to dig into it more. For me, switching the operator in the comparison function fixes things to sort biggest to smallest.
sorry if this issue is a little incoherent but on android when I use contour finder and sort by size it returns the smaller contours to the largest one -- not the largest to the smallest one
my intuition is that somehow the contour area is negative (like how opencv gives negative values when it finds holes) but I am not sure -- going to dig into it more. For me, switching the operator in the comparison function fixes things to sort biggest to smallest.