You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
plantwork/src
liyixiang 88bef493e6
a
2 months ago
..
.idea a 2 months ago
node_modules a 2 months ago
1.webp a 2 months ago
2.jpg a 2 months ago
4.jpg a 2 months ago
5.jpg a 2 months ago
6.jpg a 2 months ago
advice.html a 2 months ago
banner主图校园.jpg a 2 months ago
favicon.ico a 2 months ago
history.html a 2 months ago
index.html a 2 months ago
package-lock.json a 2 months ago
package.json a 2 months ago
readme.txt a 2 months ago
result.html a 2 months ago
server.js a 2 months ago
v2-3b77ec5116e63d28054741a7ae2439f9_r.jpg a 2 months ago

readme.txt

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

“植物智识” 是一款基于图像识别的智能植物识别与养护系统,主要功能包括:
植物识别:用户可上传植物图片,系统通过百度 AI 植物识别接口快速识别植物种类并返回置信度
养护建议:针对识别出的植物,通过阿里云通义千问 API 生成专业养护建议
历史记录:自动保存识别历史,支持查看过往识别结果及详情
响应式设计:适配桌面端
技术架构:
前端HTML5 + Tailwind CSS + JavaScript采用模块化页面设计
后端Node.js + Express提供 API 接口转发、跨域处理及第三方服务集成
数据存储:前端使用 localStorage 保存识别历史和临时结果
第三方服务:百度 AI 植物识别 API、阿里云通义千问 API
配置环境
前端环境:
无需额外配置,直接通过浏览器打开 HTML 文件即可运行
推荐环境:
现代浏览器Chrome、Firefox、Edge 等最新版本)
网络连接(需访问 CDN 资源及后端 API
后端环境:
基础依赖:
Node.jsv14+
npmv6+)或 yarn
运行说明
先启动后端服务确保http://localhost:3000可访问
通过浏览器打开index.html进入系统首页
上传植物图片即可进行识别(支持 JPG、PNG 格式,最大 5MB
识别成功后可查看结果及养护建议,历史记录自动保存在浏览器本地存储中