OpenCV  5.0.0-pre
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.