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

accuracy issue while detecting vertical lines using pre-trained model #1

Open
trohit920 opened this issue Apr 5, 2023 · 2 comments

Comments

@trohit920
Copy link

Hello,
I have tried the DHT pre-trained models to detect vertical catenary lines but the accuracy is not great. Please check the attached image files. How do you think i should solve this issue, shall i retrain the model on my custom data?
Any suggestion will be of great help.
Screenshot from 2023-04-05 11-03-59
Screenshot from 2023-04-05 11-05-55

@HassanBinHaroon
Copy link
Owner

HassanBinHaroon commented Apr 5, 2023

Hello, I have tried the DHT pre-trained models to detect vertical catenary lines but the accuracy is not great. Please check the attached image files. How do you think i should solve this issue, shall i retrain the model on my custom data? Any suggestion will be of great help. Screenshot from 2023-04-05 11-03-59 Screenshot from 2023-04-05 11-05-55

Hi @trohit920!

Your question is quite legitimate and requires in-depth knowledge plus experience with particular architecture.

First of all, I want to refer you to the actual authors of this implementation. Kindly visit the authors' repository here.

Second of all, what I remember about deep hough transform is, there should be a suitable threshold value that can be figured out practically for your own problem. The algorithm is working pretty fine in the above (shown) image, and its threshold (by default) is selected for high specificity instead of high sensitivity.

@HassanBinHaroon
Copy link
Owner

Hello, I have tried the DHT pre-trained models to detect vertical catenary lines but the accuracy is not great. Please check the attached image files. How do you think i should solve this issue, shall i retrain the model on my custom data? Any suggestion will be of great help. Screenshot from 2023-04-05 11-03-59 Screenshot from 2023-04-05 11-05-55

Moreover, GENERALLY SPEAKING (not tested), training on the specific dataset yields better results on that particular dataset most of the time. So, I suggest you give it a try.

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

2 participants