mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 23:12:33 -05:00
adjust detection
This commit is contained in:
1 parent
bf6afc5e61
commit
9758f7a15f
1 file changed
+1
-1
@@ -58,7 +58,7 @@ module Templates
|
||||
|
||||
image = Vips::Image.new_from_memory(data, width, height, 4, :uchar)
|
||||
|
||||
fields = inference.call(image, confidence: 0.05, nms:, split_page:,
|
||||
fields = inference.call(image, confidence: confidence * 0.1, nms:, split_page:,
|
||||
temperature:, aspect_ratio:, padding:)
|
||||
|
||||
text_fields = extract_text_fields_from_page(page)
|
||||
|
||||
Reference in new issue
Block a user