Attention❗️
🔺 Step 1: Download nececary npm
pip install opencv-pythonMore informations about cv2
🔺 Step 2: İnstall nececary pip
pip install numpy More informations about numpy
🔺 Step 3: OPENCV-DetectingColor-FindingDistance published by Mustafa is cloned from the GitHub repository.
git clone https://github.com/mustafakendiguzel/OPENCV-DetectingColor-FindingDistance.git
🔺 Step 4: Find the object who has red color,then measure length and width
🔺 Step 5: in width_distance file fill your measured values with known_width and known_distance
🔺 Step 6: Upload a photo named 'resim.jpg'(in this photo there could be some other things or you can be seen thats not problem)
A view from the project: