upload image of articles and detect count in them based on trained model
At client (Reactjs)
- run "npm i"
- run "npm start"
- open browser go to "localhost:1234"
At server (Python 2.7 & pip 18.0)
- open cmd in main directory and run "pip install dlib-18.17.100-cp27-none-win32.whl --user"
- run "pip install -r requirements.txt --user"
- got server folder and run "server.py"
All Set To Go!!
To Train (- refer Trainer folder)
-
collect images of the item you want to train
-
put images in "/Trainer/data/" (name the folder with with item name)
like: "/Trainer/data/Parle_G" or "/Trainer/data/Amul_milk"
- annotate the images with help of "labelImg.exe" to mark(draw rectangle around items) the images
*remember to select the PascalVOC as the save format
- save the xml from labelImg in "/Trainer/data/"
same directory as its images
- run "scrapper.py"
- run "justTrain.py"
- move the item folders to "server/data"