Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

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

Liang Dingdfe0f4c40ac1
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
index 77b1a19276..018cc2b3a6 100644
--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100744-br924ar.sy
@@ -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"
+ }
+ ]
+ }
+ ]
}
]
}
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy
index 3a56e11238..49fe03b810 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200915214115-42b8zma.sy
@@ -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": "​"
+ }
+ ]
+ }
+ ]
}
]
}
diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy
index 6d64cf7561..9c31cbe8c6 100644
--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy
+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123038-4umgpxy.sy
@@ -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": "​"
+ }
+ ]
+ }
+ ]
}
]
}