Skip to content

Commit 47dd497

Browse files
committed
Relax OCR threshold. Tofu fails on 4k.
1 parent 85a6c9c commit 47dd497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/Source/PokemonSV/Inference/Picnics/PokemonSV_SandwichIngredientDetector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class SandwichCondimentMatcher : public ImageMatch::CroppedImageDictionaryMatche
133133

134134
class SandwichFillingOCR : public OCR::SmallDictionaryMatcher{
135135
public:
136-
static constexpr double MAX_LOG10P = -2.0;
136+
static constexpr double MAX_LOG10P = -1.5;
137137
static constexpr double MAX_LOG10P_SPREAD = 0.5;
138138

139139
public:
@@ -152,7 +152,7 @@ class SandwichFillingOCR : public OCR::SmallDictionaryMatcher{
152152
};
153153
class SandwichCondimentOCR : public OCR::SmallDictionaryMatcher{
154154
public:
155-
static constexpr double MAX_LOG10P = -2.0;
155+
static constexpr double MAX_LOG10P = -1.5;
156156
static constexpr double MAX_LOG10P_SPREAD = 0.5;
157157

158158
public:

0 commit comments

Comments
 (0)