Skip to content

Commit

Permalink
feat(graphql): adjust OCR_CONFIDENCE_THRESHOLD to 0.75
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Oct 12, 2023
1 parent 35443a0 commit 2f6bbbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphql/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ export function createAIResponse({ user, ...loadingResponseBody }) {
}

const imageAnnotator = new ImageAnnotatorClient();
const OCR_CONFIDENCE_THRESHOLD = 0.85;
const OCR_CONFIDENCE_THRESHOLD = 0.75;

/**
* @param {ITextAnnotation} fullTextAnnotation - The fullTextAnnotation returned by client.documentTextDetection
Expand Down

0 comments on commit 2f6bbbe

Please sign in to comment.