zamalali / Height-Detection

Height detection using opencv, depth estimation and media pipe in real time.
19 stars 3 forks source link

How to use with camera angle from above #4

Open wong-kene opened 4 months ago

wong-kene commented 4 months ago

Hi.. this is great source code,

but i want to calculate body height from cctv, which is located about 5-6 meters from floor. is it still posible? if yes, which code are need to adjust?

Thanks..

zamalali commented 3 months ago

Hi, I am glad you found this helpful. You will have to set camera calibration for faces in order to specify distance so that scaling can be done easily. You will have to tweak the code that measures distance from the camera.