diff --git a/src/renderer/public/cropImgTest/single.json b/src/renderer/public/cropImgTest/single.json new file mode 100644 index 0000000..fdefcd9 --- /dev/null +++ b/src/renderer/public/cropImgTest/single.json @@ -0,0 +1,203 @@ +{ + "words_result": [ + { + "type": "print", + "location": { + "top": 8, + "left": 11, + "width": 485, + "height": 18 + }, + "words": "(1)风华正茂:" + }, + { + "type": "print", + "location": { + "top": 37, + "left": 11, + "width": 485, + "height": 18 + }, + "words": "(2)书生意气:" + }, + { + "type": "print", + "location": { + "top": 67, + "left": 11, + "width": 484, + "height": 18 + }, + "words": "(3)指点江山:" + }, + { + "type": "print", + "location": { + "top": 96, + "left": 11, + "width": 485, + "height": 18 + }, + "words": "(4)峥嵘岁月:" + }, + { + "type": "print", + "location": { + "top": 125, + "left": 10, + "width": 180, + "height": 17 + }, + "words": "[答案](1)风采才华正盛。" + }, + { + "type": "print", + "location": { + "top": 155, + "left": 11, + "width": 179, + "height": 16 + }, + "words": "(2)词中指同学们意气奔放。" + }, + { + "type": "print", + "location": { + "top": 185, + "left": 12, + "width": 118, + "height": 16 + }, + "words": "(3)评论国家大事。" + }, + { + "type": "print", + "location": { + "top": 214, + "left": 12, + "width": 376, + "height": 16 + }, + "words": "(4)不寻常的日子。峥嵘,这里是不平凡、 不寻常的意思。" + } + ], + "formula_result": [], + "img_direction": 0, + "results": [ + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 11, + "height": 18, + "width": 485, + "top": 8 + }, + "word": "(1)风华正茂:", + "line_probability": {} + } + }, + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 11, + "height": 18, + "width": 485, + "top": 37 + }, + "word": "(2)书生意气:", + "line_probability": {} + } + }, + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 11, + "height": 18, + "width": 484, + "top": 67 + }, + "word": "(3)指点江山:", + "line_probability": {} + } + }, + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 11, + "height": 18, + "width": 485, + "top": 96 + }, + "word": "(4)峥嵘岁月:", + "line_probability": {} + } + }, + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 10, + "height": 17, + "width": 180, + "top": 125 + }, + "word": "[答案](1)风采才华正盛。", + "line_probability": {} + } + }, + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 11, + "height": 16, + "width": 179, + "top": 155 + }, + "word": "(2)词中指同学们意气奔放。", + "line_probability": {} + } + }, + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 12, + "height": 16, + "width": 118, + "top": 185 + }, + "word": "(3)评论国家大事。", + "line_probability": {} + } + }, + { + "chars": [], + "words_type": "print", + "words": { + "words_location": { + "left": 12, + "height": 16, + "width": 376, + "top": 214 + }, + "word": "(4)不寻常的日子。峥嵘,这里是不平凡、 不寻常的意思。", + "line_probability": {} + } + } + ], + "layouts_num": 0, + "results_num": 8, + "log_id": 1868923976840586200 +} \ No newline at end of file diff --git a/src/renderer/src/components/choose-textbook/index.vue b/src/renderer/src/components/choose-textbook/index.vue index 7e766f8..0151f5b 100644 --- a/src/renderer/src/components/choose-textbook/index.vue +++ b/src/renderer/src/components/choose-textbook/index.vue @@ -7,7 +7,7 @@
-