Spaces:
Sleeping
Sleeping
|
Download docs/wish/LATEST.md from ZevonLew/Image_Recognition: direct link, hf CLI and curl.
- Browser
- Download file 6.38 kB
-
https://huggingface.co/spaces/ZevonLew/Image_Recognition/resolve/main/docs/wish/LATEST.md
- Command line
-
hf download hf://spaces/ZevonLew/Image_Recognition/docs/wish/LATEST.md
-
curl -L -o LATEST.md https://huggingface.co/spaces/ZevonLew/Image_Recognition/resolve/main/docs/wish/LATEST.md
6.38 kB
| ## 2026-10-14:62页课程与43案例图库更新 | |
| 用户要求恢复参考稿六类Extension、合并重复页、三类真实模型框架和更多原创正常/困难图。课程目录contentBuild20261014-course-3扩展到43例(7face/18gesture/18OCR),默认英文与中文切换不变。基础作业仍为一个任务、两次运行、一页报告;四条简单Extension用现有控件与人工核对,比较额外方法/训练是高级选做。 | |
| index.html/app.js/style.css新增分组与目录,sample_catalog.js包含原创小预览;server.py仅新增静态公开白名单。app.py、recognizers.js、权重、依赖、ZeroGPU启动登记、测高和Blob修复保持原样。现版本须上传完整课程更新包或完整Gradio包,旧四文件UI/OCR包不足。43例实际本地Chrome/Gradio测试及上传、分组、语言、390px、JSON回归完成;不推断总体准确率,未发布远程。 | |
| English:62-slide teaching revision restores six optional extensions and three source-checked model frameworks. The43-case synthetic gallery adds grouping and real recorded difficulties. The beginner core, native Gradio, startup/model contracts and prior fixes remain. Deployment needs all gallery/update files; no remote publication or scientific performance claim is implied. | |
| ## 先前记录(按原日期保留) | |
| # 当前课程项目意图 / Current Wish | |
| 2026-10-14学生版教学要求:课件直接面向学生,不出现“Suggested rubric”等教师草案措辞。基础作业使用现成网页和内置样例:任选一任务、固定输入、只改一个设置运行两次,提交两张截图与四至六句组成的一页报告。无需账号、编程、安装、部署或训练,结果不变亦有效。论文、官方指南和仓库用于可选深入阅读。最终入口与二维码统一为https://huggingface.co/spaces/ZevonLew/Image_Recognition,模型和运行代码沿用现有版本。 | |
| Student-facing requirements, 2026-10-14: one built-in sample in the ready-made website, two runs with one changed setting, and a one-page report with two screenshots and four to six sentences. No account, coding, installation, deployment or training is required; unchanged output is valid. Papers, guides and repositories are optional deeper reading. The final entry and QR point to ZevonLew/Image_Recognition; runtime code/models remain unchanged. | |
| 最新用户约束:不再使用Docker,不要求PRO订阅或改硬件,给出可直接上传的简单版本。采用原生Gradio SDK以app.py启动现有课程页面和CPU手势服务;模型、参数、样例、双语与导出保留。完整包带requirements.txt和packages.txt,由平台自动安装。可以保留现有ZeroGPU配置;启动必须登记按需CUDA维护接口并发送报告,但普通识别和页面加载不调用GPU。现阶段需解决课程内层滚动条、上传OCR的Failed to fetch以及首页等待:已有运行中的Gradio版使用AI-Powered_Image_Recognition_HF_UI_OCR_Fix.zip四文件补丁,首次部署使用AI-Powered_Image_Recognition_HF_Gradio.zip。以下Docker兼容记录仅为历史。 | |
| Current direction: a simple native Gradio SDK upload, without Docker, a PRO requirement or hardware downgrade. app.py starts the same course UI and CPU gesture service; tasks/models/settings remain aligned with the slides. Dependencies install automatically. Keep existing ZeroGPU hardware; register an optional CUDA maintenance API and send its startup report. Normal recognition never invokes that API. The current four-file UI/OCR patch addresses the second scrollbar, uploaded-image OCR failure and slow initial library loading; the complete Gradio archive serves first deployments. Older Docker records below are history. | |
| 历史兼容方向(已由上面的Gradio版本取代):用户反馈浏览器缺少WebGL2,并要求方便、无需自行设计的方案。课程任务和模型保持一致,当时交付Docker CPU兼容版:人脸/OCR仍在浏览器;手势图形故障时自动在本Space的CPU上用同一模型识别。界面在运行前说明手势图片可能发送到Space,后端内存处理、不保存;无需学生修改Chrome设置或购买GPU。旧9文件补丁不再是当前交付物。 | |
| Historical compatibility direction: the earlier Docker CPU package introduced the same-model gesture fallback when browser graphics fail. The current Gradio package preserves that behavior, discloses image transfer and does not persist inputs/results. The user does not need to design a backend or change browser settings; updating the public Space still requires upload and build. | |
| 更新:2026-10-13。依据用户明确要求,将克隆的目标检测教学起点改造成AI-Powered Image Recognition课程项目。旧源文件已在外层课程目录backup/20261013-112855备份,Git来源历史保留。 | |
| ## 中文 | |
| 为入门学生提供人脸验证、静态手势识别、英文印刷体OCR三个真实浏览器实验。学生依次选择输入、运行预训练模型、读懂输出、改变一个设置并导出证据。UI默认英文,可单独切换中文;HF卡片中文在前、英文在后。基础作业无需训练。 | |
| 课件与应用使用相同任务、模型、参数和样例。用户已部署ZevonLew/Image_Recognition;后续浏览器修复使用线上资源与本地响应覆盖验证,待用户上传补丁后改变公开版本。本流程没有向远程仓库推送。课件最后一页已采用最终ZevonLew/Image_Recognition入口。生成样例用于教学,不是性能基准。 | |
| ## English | |
| Provide three real browser experiments: face verification, static gesture recognition and printed-English OCR. Keep inputs, model calls, output interpretation and controlled comparisons visible. The app defaults to English with a separate Chinese switch; the HF card remains Chinese first and English second. | |
| Slides and app share tasks, models, settings and samples. The user deployed ZevonLew/Image_Recognition. The browser fix is validated using live resources and local response overlays; upload the patch to change the public version. This workflow has not pushed to a remote repository. The configured course link is now the final ZevonLew/Image_Recognition Space. Generated examples are teaching inputs, not an accuracy benchmark. Training is optional. | |