YangDai2003 / CopilotOCR-Android

Fast OCR, multi-language support, sleek design. Scan, edit, and share text effortlessly. Smart barcode and QR code scanning.
10 stars 2 forks source link

Camera scan does not work #1

Open algatern opened 1 year ago

algatern commented 1 year ago

When attempting to scan from camera, as soon as I press the camera icon/button, I am immediately taken to the Text view (screenshot attached).

Interestingly, when I scan using the barcode scanner, the camera works fine. This only affects the Camera input option.

Screenshot_20230704-094842 Camera

YangDai2003 commented 1 year ago

Hi, thanks for your feedback. The reason why there is no problem with the camera when scanning the QR code, but there is a problem with the camera when scanning the text, is because the camera called by the QR code scanning is my own implementation based on camerax, because it is more convenient to customize the interface and faster start. And when using the text scanning function, I will let the app launch the system camera, because it has better picture quality and more convenient zoom function, and this is where you run into problems. Based on your feedback, I think this is related to the compatibility of the system camera, maybe my app cannot call your phone's camera api correctly. Can you give me your phone information (like android version, brand) so that I can fix the problem?

尝试从相机扫描时,只要我按下相机图标/按钮,我就会立即进入文本视图(附上屏幕截图)。

有趣的是,当我使用条形码扫描仪扫描时,相机工作正常。这仅影响摄像机输入选项。

Screenshot_20230704-094842 Camera

algatern commented 1 year ago

Hi, thanks. That makes sense. I am running GrapheneOS on a Pixel 5, Android 13. This is the system camera: https://github.com/GrapheneOS/Camera

YangDai2003 commented 1 year ago

Hi, I have tried to improve the code and submitted an update to the play store. But I'm not sure if that completely fixes your problem. In fact, I think that this problem is not caused by my app, because I have tested it on pixel, samsung, and huawei devices, from Android 10 to Android 14, without any problems.

algatern @.***> 于 2023年7月4日周二 17:26写道:

Hi, thanks. That makes sense. I am running GrapheneOS on a Pixel 5, Android 13. This is the system camera: https://github.com/GrapheneOS/Camera

— Reply to this email directly, view it on GitHub https://github.com/YangDai-Github/CopilotOCR-Android/issues/1#issuecomment-1620444080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZV2MMK24VM26GUL357OXM3XOQYZTANCNFSM6AAAAAAZ5ZAU2Y . You are receiving this because you commented.Message ID: @.***>

algatern commented 1 year ago

I just tested out the new update but it still does not work. It very well could be GrapheneOS and not your app. Fortunately I can still import a photo and use OCR that way. This is a great app, by the way. Thank you.

VasilisKos commented 6 months ago

Same happens with my Nokia X20 with Android 13.

YangDai2003 commented 5 months ago

Same happens with my Nokia X20 with Android 13.

Hello, Copilot OCR will no longer be maintained. As a replacement for Copilot OCR and Simple Note, the new Open Note provides more powerful text editing and OCR functions and solves the original problems. Please try it.