paul-pias / Object-Detection-and-Distance-Measurement

Using yolov3 & yolov4 weights objects are being detected from live video frame along with the measurement of the object from the camera without the support of any extra hardware device.
348 stars 118 forks source link

Using in ubuntu #49

Open hesamira opened 1 year ago

hesamira commented 1 year ago

Hi every one,

How can I use this code in Ubuntu? When I used it, I got these errors:

me@me:~/Object-Detection-and-Distance-Measurement/YOLOv4$ python3 app.py Traceback (most recent call last): File "app.py", line 5, in from camera import ObjectDetection File "/home/me/Object-Detection-and-Distance-Measurement/YOLOv4/camera.py", line 9, in from darknet import Darknet File "/home/me/Object-Detection-and-Distance-Measurement/YOLOv4/darknet.py", line 4, in from tool.region_loss import RegionLoss File "/home/me/Object-Detection-and-Distance-Measurement/YOLOv4/tool/region_loss.py", line 3, in from tool.torch_utils import * File "/home/me/Object-Detection-and-Distance-Measurement/YOLOv4/tool/torch_utils.py", line 13, in from tool import utils File "/home/me/Object-Detection-and-Distance-Measurement/YOLOv4/tool/utils.py", line 11, in import win32com.client as wincl #### Python's Text-to-speech (tts) engine for windows, multiprocessing ModuleNotFoundError: No module named 'win32com'