- Head over to
/backend
after cloning - Create a virtual env by running:
python3 -m venv venv
- Activate the env by running
source venv/bin/activate
and install dependancies viapip install requirments.txt
- Start the server via
./run.sh
(for development mode add the flag--test
[RECOMMENDED]) - The server should now be hosted on port
8000
on localhost.
- Entry point is
main.py
which calls the routes, currently there is a/test
route for developing, to test an image, send a request to the backend (localhost:8000/test/return
) with the following Body format:
{
"path": "<Path to image>"
}
Eg: try it out with path asbackend/tests/inputs/zidane.jpg
- A window should pop up showing the highlighted detections, simply press
q
to exit, or comment out thecv2
lines intest.py
- Change the type of inference by changing
model_path
variable inapp/test
route, by default there are two models available in theapp/models
directory (face and object deteciton).
An open source image sorting tool designed to organize your image collection efficiently.
-
A dedicated Local Database:
- A dedicated local database for caching tags, significantly improving the speed and efficiency of image sorting.
-
Image Recognition Library:
- Uses an advanced image recognition library for evaluating objects in images along with faces, ensuring a smoother and more accurate sorting process.
-
Improved UI/UX:
- A smooth user interface for a more intuitive and pleasant experience.
-
Multiprocessing Support:
- Pictopy should supports multiprocessing, optimizing the sorting process and improving overall performance.