OpenCV  4.7.0-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.