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

objectLocalization may be better for detecting cat/dog in images #2003

Open
CloudApiStudy opened this issue Aug 16, 2020 · 0 comments
Open

Comments

@CloudApiStudy
Copy link

CloudApiStudy commented Aug 16, 2020

Hi,

I come from a research team which works on bugs in real-world applications.

I want to make a report about a potential functionality/performance improvement in your project.

In file (worker/analyzer.js):

if (containsCat && !containsDog) {
		type = PostType.CAT;
	} else if (containsDog && !containsCat) {
		type = PostType.DOG;
	} else if (containsCat && containsDog) {
		type = PostType.BOTH;
	}

If we use objectLocalization, it would work better to detect multiple objects (cat/dogs) from the image. Though labelDetection could return labels for the 2-3 objects separately in some cases, it actually is designed for offering one tag for the whole image. On the contrary, objectLocalization outputs one tag for every object detected in the image, which is more stable and reliable.

Perhaps someone might be able to confirm if these seem reasonable. Also, if so, the fix seems like it would be pretty straightforward, and I’m happy to create a pull request if that will be helpful.

If you are not offended by it, we may include your response as a percentage number (e.g. xx% of applications faces xx problem, and xx% of them confirms it) in our research paper.

Thanks.

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