How can I detect the dark black socket from the dark or very reflective bacground?
Show older comments
I need to detect the CCS2 connector of electric cars. It is very dark, with dark and poor textures.
I have some results with intensity transformations using imadjust and gamma correction when I am deparating the connector from the background. Later, I am using morphology.
Still, when I place the camera little far from the connector, 40cm-50cm the image spoils, and the detection fails, specially at daylight. The detection from 20-25cm is 100%.
I am using ZED2i depth camera and diffuse light sources, but the depth image is very poor due to the socket texutes, and now first I need to detect the connector position from the color image.
I would like to use image processing techniques, not deep learning if it is possible (I was thinking about RCNN network, or mask-RCNN, but I can not find the detail description how can I make the training with my own data/images).
I have attached the images too.
Please, any suggestion to improve the detection from 50cm distance (the greater distance would more better).
Naturally, a new camera could help, but the goal is to generate the depth image too, not only the color image.
Thanks!
2 Comments
Mathias Smeets
on 2 Aug 2022
Is it an option to crop the image in advance?
L
on 2 Aug 2022
Accepted Answer
More Answers (1)
Mathias Smeets
on 3 Aug 2022
0 votes
I don't know a specific solution.
However, here is a link that might help. I had a similar (easier) problem and I tried out a lot of different things on this link under 'segmentation techniques'.
Another thing you might try is using the functions imadjust (for enhancing contrast) and imlocalbrighten (for brightening) before you do the actual processing.
4 Comments
L
on 3 Aug 2022
Mathias Smeets
on 3 Aug 2022
Can you provide an image of this result when there are several similar blobs detected?
L
on 3 Aug 2022
Categories
Find more on Scenarios from Real-World Sensor Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!