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

Lungs cannot be detected correctly #2

Closed
xiaoyongzhu opened this issue Dec 21, 2017 · 3 comments
Closed

Lungs cannot be detected correctly #2

xiaoyongzhu opened this issue Dec 21, 2017 · 3 comments

Comments

@xiaoyongzhu
Copy link
Contributor

00000013_006
Hi,

Thanks for publishing this library, it is super helpful!

One issue I found is that when dealing with a specific data (see attached), it does not return the images correctly. Looks like there is some bug somewhere.

@dirtmaxim
Copy link
Owner

Hi,
Classifiers were trained on normal and pathological lungs equally and should be able to find pathological lungs as good as normal. I tested your image:

screen shot 2018-01-09 at 04 40 02

Haar, LBP and HOG correctly found left lung. It is fine that right lung is not detected. It seems that problem that HOG detected dark area under clavicle instead of nothing. The correct behavior in such case like that: no classifiers detect right lung, some classifiers detect left lung, left lung detection reflects to the right lung side and then you will get cropped lungs correctly. In this case it still gives correct lung crop despite not correct HOG Right detection:

screen shot 2018-01-09 at 04 52 11

@xiaoyongzhu
Copy link
Contributor Author

Thanks @dirtmaxim . I definitely agree with the approach you said, and I think it would be best if you an put a note on that in the README so people can use the APIs correctly in their applications.

BTW - what machine learning algorithm is it based on?

@uv-programmer
Copy link

I gave it a flower as input. It still gives out a positive result

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

3 participants