This program classify the given image from the web camera into the objects that are trained.
If none of them matched, then no match is shown with red text on the image. If any of the image matched, then they are shown with green text in the image as shown below.
Pull Repository
git pull https://github.com/NirajanBekoju/Image-Classification-By-Matching-Features
Trainee Image
- Keep the image of the object you want to train in the Class Folder.
Create Virtual environement and activate it
virtualenv venv
source ./venv/bin/activate
Install requirements
pip install -r requirements.txt
You can run the program by using the webcam or Camera Phone with IP WebCam
Install IPWebcam App in your android phone
- Start Server and Connect Hotspot of mobile with laptop
- Get the url of shot.jpg
- Paste the url in place of url variable in image_classifier_cam.py