I just noticed that Google Colaboratory offers the script for using the local machine's webcam.
Steps
Step1 Go to Google Colaboratory
https://colab.research.google.com/notebooks/intro.ipynb#recent=trueStep2 Create a new notebook
Step4 Click Camera Capture
Clickinsert
Step5 Run script
Shit + Enter
YOLO on Google Colaboratory