clone or download repo https://github.com/sai544042/pallet.git
cd dectect
If pretrained model exists place model in model folder else download it from https://drive.google.com/file/d/1-YC3uNKbYsvH6O7A1UuX1RMoZV_xHKF4/view?usp=sharing
run command
python detect.py --input_file <file_name> --output_file <file_name> --model_name <model_name> --match_percentage
model_name is optional it has a default model downloaded from https://drive.google.com/file/d/1-YC3uNKbYsvH6O7A1UuX1RMoZV_xHKF4/view?usp=sharing
match_percentage is optional it has by default of 50%
TRAINING A MODEL
CREATE A DIRECTECTORY STRUCTURE
pallet-train-images and annotations
requirements:-
pip install tensorflow-gpu==1.15.0
pip install labelImg
pip install imageai
command to label images
labelImg path_to_images/