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

Feature Request - Detection box text background color #125

Open
cuda444 opened this issue Apr 9, 2022 · 7 comments
Open

Feature Request - Detection box text background color #125

cuda444 opened this issue Apr 9, 2022 · 7 comments
Labels
enhancement New feature or request must-have

Comments

@cuda444
Copy link

cuda444 commented Apr 9, 2022

I've noticed that on some backgrounds, the detection box text displaying what is detected and the % certainty is difficult to read regardless of the color of the text without making the text enormous. Was thinking it may be useful to be able to change the background color of the text box... ie - green text box with black or white text, for example. Even just a black text box with white text. Just something to block out that area of the image and provide a solid color to display the text on.

Thank you again for all your work on this project.

@djdd87
Copy link
Owner

djdd87 commented Jul 31, 2022

Done. Example using white:

image

@djdd87 djdd87 closed this as completed Jul 31, 2022
@djdd87
Copy link
Owner

djdd87 commented Jul 31, 2022

Added in v1.2.0

@cuda444
Copy link
Author

cuda444 commented Aug 3, 2022

Thank you!

@cuda444
Copy link
Author

cuda444 commented Aug 8, 2022

Just been playing with this. I used textoffsety to move the text above the detection box, rather than inside of it. However, when doing so, the background color box shifts above the text. Basically if you do textoffsety: -50, it appears the background box moves -100.
Is there a textboxoffsety option, by chance? Or can it be added easily?

Thank you for all your work on this project. It really has been a game changer

@djdd87
Copy link
Owner

djdd87 commented Aug 8, 2022

Can you give me an example picture?

@djdd87 djdd87 reopened this Aug 8, 2022
@cuda444
Copy link
Author

cuda444 commented Aug 8, 2022

4E52CA66-BA4C-4F51-A225-CC5EAA1B6992

Here you go. Thank you.

@djdd87
Copy link
Owner

djdd87 commented Aug 8, 2022

OK, odd. I must have got some maths wrong with the negative offsets. I'll look later this week.

@djdd87 djdd87 added the enhancement New feature or request label Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request must-have
Projects
None yet
Development

No branches or pull requests

2 participants