27 Commits

Author SHA1 Message Date
cunninger
ff2d2bf290 fix: update terminology from 'multimodal recognition' to 'OCR text recognition' 2025-03-26 18:54:50 +08:00
cunninger
95d8f03c48 Add token expiration time display below the Token input field 2025-03-22 09:07:17 +08:00
cunninger
2a56afaaf5 feat: upgrade model to qwen-max-latest and update code references 2025-03-11 19:26:34 +08:00
cunninger
9ce7d47b8a fix: encode custom prompt to handle non-ASCII characters in request headers 2025-02-15 10:51:22 +08:00
cunninger
d2b6d7bd3f Add custom prompt feature with advanced/raw mode support 2025-02-15 10:30:09 +08:00
cunninger
4e55b325e0 feat: add "Get Cookie" button next to GitHub icon
- Introduced a new green "Get Cookie" button to the UI.
- Positioned the button to the right of the history button for easy access.
- Implemented functionality to open the URL `https://chat.qwenlm.ai` in a new tab when the button is clicked.
- Enhanced user experience by providing a direct link for users to obtain their cookie.
2025-02-13 13:15:20 +08:00
cunninger
bee8754e24 feat: enhance API implementation and add documentation
- Added detailed comments to API endpoint implementations for clarity.
- Ensured consistent error handling across all endpoints with standardized JSON responses.
- Implemented unit tests for API endpoints to verify functionality.
- Updated constants and added comments for better understanding of parameters.
- Ensured code logic aligns with the updated README documentation.
2025-02-10 11:48:05 +08:00
Cunninger
3f32cb4de2 fix(cookie): resolve hardcoded cookie issue (oversight fix) 2025-02-04 00:31:30 +08:00
Cunninger
ec554bc93a refactor(api): update authentication and request parameters for enhanced compatibility 2025-02-03 14:31:27 +08:00
Cunninger
77997c592e Fix some symbol issues at line 1221 2025-02-02 21:17:52 +08:00
Cunninger
6f6383a31f Update vision model to qwen2.5-vl-72b-instruct
- Upgraded model version to qwen2.5-vl-72b-instruct
- Updated configuration files to support the new model
- Fixed compatibility issues related to the new model
2025-01-28 07:59:11 +08:00
Cunninger
6b75d87808 Fix CORS policy issue for fetch request
- Resolved the CORS policy error when accessing 'https://chat.qwenlm.ai/api/v1/files/' from 'https://ocr.doublefenzhuan.me'.
- Added 'Access-Control-Allow-Origin' header to the server response to allow cross-origin requests.
- Alternatively, set the request mode to 'no-cors' if an opaque response is acceptable.

This change ensures that the fetch request can be made without being blocked by CORS policy restrictions.
2025-01-24 21:16:25 +08:00
Cunninger
d8eb58b88f style: adjust layout and styling for better alignment 2025-01-18 14:54:38 +08:00
Cunninger
7da3c8e81b fix: display image correctly in recognition history when input from URL 2025-01-18 14:43:58 +08:00
Cunninger
b38a40911b chore: add github link 2025-01-18 14:34:47 +08:00
Cunninger
744b544aea feat: add URL input button for image support on main interface 2025-01-18 12:24:09 +08:00
Cunninger
4ba70a858f fix: resolve issue with .gitignore$ being copied in recognized content 2025-01-15 08:24:52 +08:00
Cunninger
7290399240 fix: resolve copy issue in recognition history interface 2025-01-14 20:10:32 +08:00
Cunninger
657f37a90e Merge branch 'main' of https://github.com/Cunninger/ocr-based-qwen 2025-01-14 18:25:37 +08:00
Cunninger
e475c9d473 Initial commit 2025-01-14 18:21:17 +08:00
programmerWsy
5bbba7ab22
feat: add CAPTCHA recognition support 2025-01-14 17:47:27 +08:00
programmerWsy
3927019eb8
Update worker.js
fix: resolve TypeError in HistoryManager by ensuring MathJax.typesetPromise is available

- Fixed the uncaught TypeError caused by `MathJax.typesetPromise` not being a function.
- Ensured MathJax is properly loaded before calling `typesetPromise`.
- Updated the HistoryManager.displayHistory function to handle MathJax initialization correctly.

Fixes issue at (索引):750:15 and (索引):923:22.
2025-01-14 17:27:18 +08:00
programmerWsy
ee53bd6ecf
Update worker.js 2025-01-13 19:21:00 +08:00
programmerWsy
2a39a2c969
Update worker.js
feat: 新增数学公式识别功能,支持 LaTeX 格式输出
feat: 新增 API 调用支持,提供 base64 和图片 URL 两种方式
2025-01-13 18:54:12 +08:00
programmerWsy
a6a5241c26
Update worker.js 2025-01-13 18:50:30 +08:00
programmerWsy
1178a56d62
Update worker.js 2025-01-13 18:46:31 +08:00
programmerWsy
62054add3b
Create worker.js 2025-01-11 12:05:59 +08:00