0
$\begingroup$

There is a similar question here but the answer is not so clear;

Basically, I have a model that detects only and only "matchbox". However, it has a high false positive ratio specially confronted with other boxes.

I thought to add other boxes as negative examples; I am using label studio - I am not sure which path to pursue,

  1. how to label them ?! (should it be another class which is "no-box" and the coordinate is the entire picture ? or rather

  2. no label - meaning there is no coordinate and no additional class. in this case how can I feed it into TF2 pipeline ?

$\endgroup$

2 Answers 2

0
$\begingroup$

You can create a separate binary classification model that receives the box image and tells apart matchbox vs. not a matchbox.

$\endgroup$
0
$\begingroup$

One option is to create a new class "a-box-but-not-a-matchbox". Label the false positives as that new class and retrain the model.

Another option is to create an anomaly detection system. Learn the distribution of the "matchbox". Any image greater than a distance threshold from that distribution would be labeled as "not matchbox". K-nearest neighbors algorithm (k-NN) is a simple example, there are more complex examples.

$\endgroup$
1
  • $\begingroup$ that doesn't work - then in the picture with 'match-box' I have to make tons of boxes and label them no match-box. I would not like to have another class. $\endgroup$
    – user702846
    Commented Jan 24, 2023 at 22:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.