textin/test.js
2024-10-13 12:08:57 +08:00

7 lines
176 B
JavaScript

import ti from "apigo.cc/ai/textin"
import file from "apigo.cc/gojs/file"
function main(){
return {a : ti.OCR(file.readBytes("img.png")), b : ti.OCRFromFile("img.png")}
}