What you point at is a webapp written in Django. It receives an uploaded image, and classifies it.
What you want to do is look at the code of plant_diseases/plant_app/views.py that accepts the uploaded image.
Write another Python program that loads all the same dependencies that that view loads, and opens and reads images from the webcam, and then classifies those images using that same code.