Open emredaglier opened 1 year ago
Hello, have you implemented real-time detection with the camera now?
Currently project does not contain live camera ability.
YOLOP
# Set Dataloader if opt.source.isnumeric(): cudnn.benchmark = True # set True to speed up constant image size inference dataset = LoadStreams(opt.source, img_size=opt.img_size) bs = len(dataset) # batch_size else: dataset = LoadImages(opt.source, img_size=opt.img_size) bs = 1 # batch_size
YOLOPv2
# Set Dataloader vid_path, vid_writer = None, None dataset = LoadImages(source, img_size=imgsz, stride=stride)
Is it possible to make tweak to have a live cam feed?
Hi @emredaglier emredaglie, have you implemented real-time detection with the camera now?
Hello, have you implemented real-time detection with the camera now?
Hi @PlutoXN , have you got any progress now with webcam?
@emredaglier @PlutoXN @Azpril45 Have you tried changing the source in line 20 of demo.py
parser.add_argument('--source', type=str, default='data/example.jpg', help='source') # file/folder, 0 for webcam
you can pass your webcam serial number as an input.
Let me know if the problem persist.
Currently project does not contain live camera ability.
YOLOP
YOLOPv2
Is it possible to make tweak to have a live cam feed?