Hi all, I need to find the distance between object and mobile camera using opencv.
I am currently working on foreground extraction algorithm using opencv and python. The object is extracted completely, if the distance between the object and mobile camera is within some specific range. I am trying to display that range on the UI. Is there any opencv api available which can calculate the distance between the object and mobile camera?