Running Deep Learning Based Plant Diseases Recognition on jetson nano using webcam


I am trying to use this along the webcam. I have installed the packages mentioned in the description. My question is how do I combine the above github code with webcam?

Thank you

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/ 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.