summaryrefslogtreecommitdiff
path: root/cmd/rescribe/embed_tessdata.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/rescribe/embed_tessdata.go')
-rw-r--r--cmd/rescribe/embed_tessdata.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmd/rescribe/embed_tessdata.go b/cmd/rescribe/embed_tessdata.go
new file mode 100644
index 0000000..ea9ce8f
--- /dev/null
+++ b/cmd/rescribe/embed_tessdata.go
@@ -0,0 +1,12 @@
+// Copyright 2022 Nick White.
+// Use of this source code is governed by the GPLv3
+// license that can be found in the LICENSE file.
+
+//go:build embed
+
+package main
+
+import _ "embed"
+
+//go:embed tessdata.20220322.zip
+var tessdatazip []byte