-
Create an virtual environments for the project
-
install all the requirements using following
pip install -r requirements
- Then, just run the server using following command
python manage.py runserver
- For preparing the dataset, run the command
python prepare_dataset.py file save_dir_name/
For example,
python prepare_dataset.py html/Hotel-Images-1 Hotel-Images-1/
- For detecting people in the image, run the command
python detect.py save_dir_name/
For example,
python detect.py Hotel-Images-1/
- For generating txt file of url list of people in the images, run the command
python generate_txt.py save_dir_name/ file txt_name.txt
For example,
python generate_txt.py Hotel-Images-1/ Hotel-Images-1 Hotel-Images-1.txt