🎨 Add OCR-related operations to the picture menu https://github.com/siyuan-note/siyuan/issues/7203

This commit is contained in:
Liang Ding 2023-04-14 20:25:58 +08:00
parent 2231d089df
commit dfe0f4c40a
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
3 changed files with 242 additions and 14 deletions

View file

@ -6,7 +6,7 @@
"id": "20200924100744-br924ar",
"title": "Assets",
"type": "doc",
"updated": "20230211103249"
"updated": "20230414202515"
},
"Children": [
{
@ -981,11 +981,11 @@
]
},
{
"ID": "20230117003636-iel5zll",
"ID": "20230414202455-itauu1x",
"Type": "NodeParagraph",
"Properties": {
"id": "20230117003636-iel5zll",
"updated": "20230117003842"
"id": "20230414202455-itauu1x",
"updated": "20230414202455"
},
"Children": [
{
@ -999,7 +999,83 @@
},
{
"Type": "NodeText",
"Data": ". If you need to re-OCR or adjust the extraction results, you can delete or modify this file when SiYuan is closed, and manually rebuild the index after starting SiYuan."
"Data": ", if you need to re-OCR or adjust the extraction results:"
}
]
},
{
"ID": "20230414202455-9vob8o4",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230414202455-9vob8o4",
"updated": "20230414202515"
},
"Children": [
{
"ID": "20230414202455-kcjywr7",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230414202455-kcjywr7",
"updated": "20230414202515"
},
"Children": [
{
"ID": "20230414202455-bggjnen",
"Type": "NodeParagraph",
"Properties": {
"id": "20230414202455-bggjnen",
"updated": "20230414202515"
},
"Children": [
{
"Type": "NodeText",
"Data": "You can delete or modify this file when SiYuan is closed, and manually rebuild the index after starting SiYuan"
}
]
}
]
},
{
"ID": "20230414202455-67sj3rv",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230414202455-67sj3rv",
"updated": "20230414202502"
},
"Children": [
{
"ID": "20230414202455-m58zpdi",
"Type": "NodeParagraph",
"Properties": {
"id": "20230414202455-m58zpdi",
"updated": "20230414202502"
},
"Children": [
{
"Type": "NodeText",
"Data": "Or select "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "OCR"
},
{
"Type": "NodeText",
"Data": " from the image element menu in the editor"
}
]
}
]
}
]
}

View file

@ -6,7 +6,7 @@
"id": "20200915214115-42b8zma",
"title": "资源文件",
"type": "doc",
"updated": "20230211103308"
"updated": "20230414202309"
},
"Children": [
{
@ -199,7 +199,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20210512171633-u3iy2xx",
"updated": "20220824172745"
"updated": "20230414202246"
},
"Children": [
{
@ -1012,7 +1012,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20230117003118-da7wjvx",
"updated": "20230117003434"
"updated": "20230414202215"
},
"Children": [
{
@ -1026,7 +1026,83 @@
},
{
"Type": "NodeText",
"Data": " 中,如果需要重新 OCR 或者调整提取结果,可以在关闭思源的情况下删除或修改该文件,启动思源以后手动重建索引。"
"Data": " 中,如果需要重新 OCR 或者调整提取结果:"
}
]
},
{
"ID": "20230414202215-wv6v759",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230414202215-wv6v759",
"updated": "20230414202309"
},
"Children": [
{
"ID": "20230414202216-6ib46sp",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230414202216-6ib46sp",
"updated": "20230414202216"
},
"Children": [
{
"ID": "20230414202216-7lh8lft",
"Type": "NodeParagraph",
"Properties": {
"id": "20230414202216-7lh8lft",
"updated": "20230414202221"
},
"Children": [
{
"Type": "NodeText",
"Data": "可以在关闭思源的情况下删除或修改该文件,启动思源以后手动重建索引"
}
]
}
]
},
{
"ID": "20230414202222-wbxjz0f",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230414202222-wbxjz0f",
"updated": "20230414202309"
},
"Children": [
{
"ID": "20230414202222-oelakfd",
"Type": "NodeParagraph",
"Properties": {
"id": "20230414202222-oelakfd",
"updated": "20230414202309"
},
"Children": [
{
"Type": "NodeText",
"Data": "或者在编辑器中的图片元素菜单中选择 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "OCR"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
}
]
}

View file

@ -5,7 +5,7 @@
"Properties": {
"id": "20211226123038-4umgpxy",
"title": "資料文件",
"updated": "20230211103259"
"updated": "20230414202408"
},
"Children": [
{
@ -986,11 +986,11 @@
]
},
{
"ID": "20230117003901-ds4ok9s",
"ID": "20230414202351-u1zvtxx",
"Type": "NodeParagraph",
"Properties": {
"id": "20230117003901-ds4ok9s",
"updated": "20230117003901"
"id": "20230414202351-u1zvtxx",
"updated": "20230414202351"
},
"Children": [
{
@ -1004,7 +1004,83 @@
},
{
"Type": "NodeText",
"Data": " 中,如果需要重新 OCR 或者調整提取結果,可以在關閉思源的情況下刪除或修改該文件,啟動思源以後手動重建索引。"
"Data": " 中,如果需要重新 OCR 或者調整提取結果:"
}
]
},
{
"ID": "20230414202351-ri59se5",
"Type": "NodeList",
"ListData": {},
"Properties": {
"id": "20230414202351-ri59se5",
"updated": "20230414202408"
},
"Children": [
{
"ID": "20230414202351-q7nz7nx",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230414202351-q7nz7nx",
"updated": "20230414202351"
},
"Children": [
{
"ID": "20230414202351-das1wrr",
"Type": "NodeParagraph",
"Properties": {
"id": "20230414202351-das1wrr",
"updated": "20230414202351"
},
"Children": [
{
"Type": "NodeText",
"Data": "可以在關閉思源的情況下刪除或修改該文件,啟動思源以後手動重建索引"
}
]
}
]
},
{
"ID": "20230414202351-tpwayz5",
"Type": "NodeListItem",
"ListData": {
"BulletChar": 42,
"Marker": "Kg=="
},
"Properties": {
"id": "20230414202351-tpwayz5",
"updated": "20230414202408"
},
"Children": [
{
"ID": "20230414202351-mxla3bm",
"Type": "NodeParagraph",
"Properties": {
"id": "20230414202351-mxla3bm",
"updated": "20230414202408"
},
"Children": [
{
"Type": "NodeText",
"Data": "或者在編輯器中的圖片元素菜單中選擇 "
},
{
"Type": "NodeTextMark",
"TextMarkType": "kbd",
"TextMarkTextContent": "OCR"
},
{
"Type": "NodeText",
"Data": ""
}
]
}
]
}
]
}