Skip to content

here we use opencv to find out the distance between the camera and the object by using a single webcam(ip webcam)

Notifications You must be signed in to change notification settings

vickyhexr/OpenCv_Object_distance

 
 

Repository files navigation

OpenCv_Object_distance

Here, we use opencv to find out the distance between the camera and the object by using a single camera/webcam. By default it will capture the camera. You can change it by giving arg while tuning or changing the parm in the following lines.

parser.add_argument('--webcam', type=bool, default=True)
parser.add_argument('--url', type=str, default='http://192.168.0.4:8080/shot.jpg')
'''

About

here we use opencv to find out the distance between the camera and the object by using a single webcam(ip webcam)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%