Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update darknet_images.py #7379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

update darknet_images.py #7379

wants to merge 1 commit into from

Conversation

YCAyca
Copy link

@YCAyca YCAyca commented Feb 15, 2021

I added 2 features.

  1. We are able to save images with prediction results to an output folder using --output_folder path
  2. We are able to cut the detections and save them grouping by their labels (predicted class) using --cut_folder path
    So if you give --cut_folder data/animals_output/ with 3 different classes (cat, dog, bird). You will have your predictions cutted and grouped in these 3 folders. (data/animals_output/cat data/animals_output/dog data/animals_output/bird)

I added 2 features.
1) We are able to save images with prediction results to an output folder using --output_folder path
2) We are able to cut the detections and save them grouping by their labels (predicted class) using --cut_folder path
So if you give --cut_folder data/animals_output/  with 3 different classes (cat, dog, bird). You will have your predictions cutted and grouped in these 3 folders. (data/animals_output/cat data/animals_output/dog data/animals_output/bird)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant