Length of minor or major axis of blob

Hello,
blob.major_axis_line() is a tuple for a line but not a line. Then the only way I found to calculate the length is:

maja = blob.major_axis_line()
lmaja = int(round(math.sqrt((maja[2]-maja[0])**2 + (maja[3]-maja[1])**2)))

Then I wonder if it is possible to simply get the properties of blob.major_axis_line() like we can do with the methods of the line class which may be optimized.

It’s a missing feature in the library. What you are doing is the best for now.

I really need to add a generic rect and line class versus returning tuples.

OK. Thank you.
Will keep an eye on it.