How to label ground truth automatically for images
5 次查看(过去 30 天)
显示 更早的评论
Hello,
I have 2500 images and would like to label ground truth automatically without manually drawing bounding boxes. Could anyone help to show me the codes and steps please?
采纳的回答
Ridwan Alam
2019-11-21
Automated data labeling is still an active research field.
Not sure if this would be helpful in the meantime:
2 个评论
Ridwan Alam
2019-11-21
I totally understand your frustration. We all had been there. But as Walter mentioned below, if we could automate the process of labelling, why would we need those labels for?
As a starter, you can manually label a few images > train a simple model > use that trained model to label some from the rest of the data > manually evaluate the performance, i.e. whether the model is doing a reasonable job in labelling > retrain with new data > reevaluate ..
As I said before, it's still an area of active research. Good luck!
更多回答(1 个)
Walter Roberson
2019-11-21
Ground truth data is, by definition, as accurate as an expert in the field can possibly be. For example for an overhead picture of land, ground truth does not just assume that a green blob is a tree: ground truth would be a botonist (or forester) going through the area in person or in high resolution photos and verifying that the blob is not just green paint and not just just a dark plant, but is indeed a tree (and not, for example, a herbacious growth such as a banana, as banana are herbs, not trees (no wood)).
If there were an algorithm that could give a ground-truth labeling from whatever inputs you have available, then you would probably not need to do whatever it is you intend to do with the ground truth labels. Not unless you were working an an algorithm that was perhaps less perfect but was substantially faster.
2 个评论
Walter Roberson
2019-11-21
编辑:Walter Roberson
2019-11-21
Sometimes it can help to do edge detection to create an interactive roi to throw up on the graph for the user to fine tune.
However context is important. If the question is picking out where a ball is in a well lit box then things might be fine. If the question is picking out brain tumors on MRI then that is not something that you can ground truth from MRI images alone: ground truth for that involves microscopy and possibly oxygen flow studies and possibly MRS. Ground truth for brain tumor images is not whether the shade of gray of the pixel hints that there might be a tumor at that location: ground truth for brian tumor images is whether or not there is a brain tumor at that location, which medical images only approximate.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!