[Screen Capture] 截图(deepin-ocr)后文字识别结果为空
Tofloor
poster avatar
深度用户001
deepin
2025-04-19 09:10
Author

在我的电脑上,安装V20.9或者V25这个功能都正常,但是V23.1就是出问题:截图后文字识别结果为空,单独运行deepin-ocr进行识别也是一样的。该如何排除问题?可否有人给出建议?

Reply Favorite View the author
All Replies
zijinyise
deepin
2025-04-19 14:20
#1

要不你先发个配置图?或者是什么图片识别不到文字发出来

Reply View the author
Merlin
Super Moderator
Product Manager
2025-04-19 14:33
#2

截图,并提供下日志看看。

Reply View the author
深度用户001
deepin
2025-04-19 20:37
#3
zijinyise

要不你先发个配置图?或者是什么图片识别不到文字发出来

什么图片都不行

Reply View the author
深度用户001
deepin
2025-04-19 20:44
#4
Merlin

截图,并提供下日志看看。

原图:截图_选择区域_20250419203920.jpg

使用deepin-ocr命令识别结果是空的:

截图_deepin-ocr_20250419204323.jpg

下面是命令执行日志:

$ deepin-ocr /home/lgq/Pictures/Screenshots/截图_选择区域_20250419203920.jpg
2025-04-19, 20:39:57.984 [Debug] [ ] openFile 17 "/home/lgq/Pictures/Screenshots/截图_选择区域_20250419203920.jpg"
2025-04-19, 20:39:57.997 [Warning] [dguiapplicationhelper.cpp Dtk::Gui::DGuiApplicationHelperPrivate::onApplicationPaletteChanged 397] DGuiApplicationHelper: Don't use QGuiApplication::setPalette on DTK application.
2025-04-19, 20:39:58.004 [Warning] [ ] QLayout: Attempting to add QLayout "" to MainWidget "", which already has a layout
2025-04-19, 20:39:58.005 [Warning] [ ] QLayout: Attempting to add QLayout "" to MainWidget "", which already has a layout
2025-04-19, 20:39:58.005 [Warning] [ ] QLayout: Attempting to add QLayout "" to MainWidget "", which already has a layout
[0 AMD Radeon Graphics (RADV GFX1103_R1)] queueC=1[4] queueG=0[1] queueT=0[1]
[0 AMD Radeon Graphics (RADV GFX1103_R1)] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[0 AMD Radeon Graphics (RADV GFX1103_R1)] fp16-p/s/u/a=1/1/1/1 int8-p/s/u/a=1/1/1/1
[0 AMD Radeon Graphics (RADV GFX1103_R1)] subgroup=64 basic/vote/ballot/shuffle=1/1/1/1
[0 AMD Radeon Graphics (RADV GFX1103_R1)] fp16-8x8x16/16x8x8/16x8x16/16x16x16=0/0/0/1
[1 llvmpipe (LLVM 19.1.4, 256 bits)] queueC=0[1] queueG=0[1] queueT=0[1]
[1 llvmpipe (LLVM 19.1.4, 256 bits)] bugsbn1=0 bugbilz=0 bugcopc=0 bugihfa=0
[1 llvmpipe (LLVM 19.1.4, 256 bits)] fp16-p/s/u/a=1/1/1/1 int8-p/s/u/a=1/1/1/1
[1 llvmpipe (LLVM 19.1.4, 256 bits)] subgroup=8 basic/vote/ballot/shuffle=1/1/1/1
[1 llvmpipe (LLVM 19.1.4, 256 bits)] fp16-8x8x16/16x8x8/16x8x16/16x16x16=0/0/0/0
2025-04-19, 20:39:58.100 [Debug] [ ] 40
2025-04-19, 20:39:58.100 [Debug] [ ] 100
2025-04-19, 20:39:58.103 [Debug] [ ] 24
2025-04-19, 20:39:58.104 [Debug] [ ] 100
2025-04-19, 20:39:58.119 [Debug] [ ] 24
2025-04-19, 20:39:58.119 [Debug] [ ] 100
ex.set_vulkan_compute() is no-op, please set net.opt.use_vulkan_compute=true/false before net.load_param()
If you want to disable vulkan for only some layer, see https://github.com/Tencent/ncnn/wiki/layer-feat-mask

Reply View the author
深度用户001
deepin
2025-04-22 09:10
#5

我又尝试了安装6.12.20内核也是同样的结果。哎,没有人碰到这个问题吗?

Reply View the author