mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
debug
This commit is contained in:
parent
841e568baf
commit
2ff76ffd9f
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "misskey",
|
||||
"version": "12.118.1-calc.rc.4.10",
|
||||
"version": "12.118.1-calc.rc.4.11",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -154,8 +154,10 @@ export default defineComponent({
|
||||
});
|
||||
};
|
||||
const img = document.getElementById('imgtocaption') as HTMLImageElement;
|
||||
const b64 = getBase64FromUrl(img.src);
|
||||
console.log(b64);
|
||||
Tesseract.recognize(
|
||||
getBase64FromUrl(img.src),
|
||||
b64,
|
||||
'eng',
|
||||
{ logger: m => console.log(m) },
|
||||
).then(({ data: { text } }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user