You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it plotes this image, but there are no borders nor labels and confidence
Indeed there are labels and borders, but they are not visible due to the poor quality of the image.
A possible solution is to create a canvas of an empty image in the dimensions of the original image (but of a higher quality), draw the blurred image to the canvas and then draw the predictions to the image.
This is the image I'm running the model against
Original Image
![image](https://private-user-images.githubusercontent.com/24925082/321673535-95a88be3-fc8e-4a69-be13-78919072dfeb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNDQwNDgsIm5iZiI6MTcxOTA0Mzc0OCwicGF0aCI6Ii8yNDkyNTA4Mi8zMjE2NzM1MzUtOTVhODhiZTMtZmM4ZS00YTY5LWJlMTMtNzg5MTkwNzJkZmViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDA4MDkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ1NzA3YWE1M2EyNjlmZDg0YTY4ZjM1ZDE0MWIyYzgxOWNiYjAzMWZhZjAyOTA2OGUwNjcxOTQxZTM2MDcwOTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Dxhx48BoAhvdmYp2nWxOdrzaRFViPX3WvL-QglRpxtw)
I use this code
and this is the plotted image
Image after plotting
![image](https://private-user-images.githubusercontent.com/24925082/321673730-9c41ad30-05f2-4955-885f-8e063430ac03.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNDQwNDgsIm5iZiI6MTcxOTA0Mzc0OCwicGF0aCI6Ii8yNDkyNTA4Mi8zMjE2NzM3MzAtOWM0MWFkMzAtMDVmMi00OTU1LTg4NWYtOGUwNjM0MzBhYzAzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDA4MDkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWRhZTNkYmM3NGNkNWVkZDA5ODc0YzlkZDk2NTYzODQzYmNmNDNiNzM2ODMwYzI2NjQxNmM2ZDczZmMyN2QyZjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5hITqgGkoxVDZbqH8biZJxfFXVs_Mf3HXpWPSU6esbw)
it looks like the boxes are not transparent
I tried to solve it by doing this
it plotes this image, but there are no borders nor labels and confidence
![image](https://private-user-images.githubusercontent.com/24925082/321675360-95e704b5-a18e-4454-8beb-9291930ed74c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNDQwNDgsIm5iZiI6MTcxOTA0Mzc0OCwicGF0aCI6Ii8yNDkyNTA4Mi8zMjE2NzUzNjAtOTVlNzA0YjUtYTE4ZS00NDU0LThiZWItOTI5MTkzMGVkNzRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDA4MDkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllYjU1Mzk5OTZjMTJhMDQ1MzhmYzRkZjBlNTE5MThiZmYyYTE1ZmE4ZTM3N2JkODMyZDgyNmY5YmM3ZDk3NmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Qb7rml-Ch6HEFtQFMeLEoxOFIkMAmgoLdAQnIw9lu8o)
but the same code(the one without the detectionOptions object) works fine with other pictures
![image](https://private-user-images.githubusercontent.com/24925082/321676881-644eec1e-a756-449c-83da-166b5d095c60.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwNDQwNDgsIm5iZiI6MTcxOTA0Mzc0OCwicGF0aCI6Ii8yNDkyNTA4Mi8zMjE2NzY4ODEtNjQ0ZWVjMWUtYTc1Ni00NDljLTgzZGEtMTY2YjVkMDk1YzYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIyVDA4MDkwOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3MmVkMDY0MTA5YmVjNTQ5YjgzYTZkNzMzZTRhNWVkYmY4OGJiMTRkYjc5YmY1MTZkZWRlNzM4MTliZTZhYWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.FlgukYmeCVBBahml42p53bXfkS8Td-jwOMpNJtPaOf0)
like this one
yet the boxes on some other pictures are not transparent
The text was updated successfully, but these errors were encountered: