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

don't match bboxes per every iamge #24

Open
AliMoradiVartouni opened this issue Jan 7, 2023 · 0 comments
Open

don't match bboxes per every iamge #24

AliMoradiVartouni opened this issue Jan 7, 2023 · 0 comments

Comments

@AliMoradiVartouni
Copy link

As the bboxes appended in a list then, after call "predidct_age_gender_race" function the indices of bboxes don't match with origin images.
For this I am added bellow line in third line of "predidct_age_gender_race" function after img_names = [os.path.join(imgs_path, x) for x in os.listdir(imgs_path)]

img_names.sort(key=lambda x: os.path.getmtime(x))

Thus, images are considered based on time that bboxes have been added.

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

No branches or pull requests

1 participant