OpenCV  3.4.20-dev
Open Source Computer Vision
Image Classification Example with Camera

Goal

Note
If you don't know how to capture video from camera, please review Getting Started with Videos.