update README.md

This commit is contained in:
lzx
2026-01-07 16:42:22 +08:00
parent 5d95cf264d
commit e5bb205a79
4 changed files with 173 additions and 271 deletions

View File

@@ -33,7 +33,7 @@ class WelcomeScreen extends StatelessWidget {
// 标题
const Text(
'sight-identification',
'自动拍照应用',
style: TextStyle(
fontSize: 32,
fontWeight: FontWeight.bold,
@@ -46,7 +46,7 @@ class WelcomeScreen extends StatelessWidget {
Padding(
padding: const EdgeInsets.symmetric(horizontal: 40),
child: Text(
'点击按钮开始自动拍照\n每2秒拍摄一次',
'点击按钮开始自动拍照\n每2秒拍摄一次共拍摄5张照片',
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 16,

View File

@@ -76,7 +76,7 @@ class BoundingBox {
class YOLOService {
// 配置YOLO API端点用户可以修改
static const String yoloApiUrl = 'http://10.168.2.249:3000/api/upload';
static const String yoloApiUrl = 'http://localhost:8000/api/detect';
// 分析单张图片
Future<YOLOAnalysisResult> analyzeImage(String imagePath) async {