Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
Xindu Citizen Applet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xindu
Xindu Citizen Applet
Commits
89ded34f
Commit
89ded34f
authored
8 months ago
by
DESKTOP-D6EHK2V\chay
Browse files
Options
Downloads
Patches
Plain Diff
fix:修改AI识别
parent
81d33598
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/pages/Event/view/miniAiIdentify/index.tsx
+3
-6
3 additions, 6 deletions
src/pages/Event/view/miniAiIdentify/index.tsx
with
3 additions
and
6 deletions
src/pages/Event/view/miniAiIdentify/index.tsx
+
3
−
6
View file @
89ded34f
...
...
@@ -71,18 +71,15 @@ function MiniAiIdentify() {
.
postPhotoAcquisitionCategory
({
img
:
imgBase64
})
.
then
((
res
)
=>
{
console
.
log
(
777
,
res
);
if
(
res
.
code
===
200
)
{
//接口成功
let
aidataRes
=
res
.
data
;
console
.
log
(
78
,
aidataRes
);
let
aidataRes
=
res
.
data
;
//AI数据
if
(
aidataRes
.
code
===
200
)
{
//识别成功
setAiData
(
aidataRes
[
0
].
detectedInfo
[
0
]);
drawCanvas
(
aidataRes
[
0
].
detectedInfo
[
0
]);
setAiData
(
aidataRes
.
data
[
0
]
?
.
detectedInfo
[
0
]);
drawCanvas
(
aidataRes
.
data
[
0
]
?
.
detectedInfo
[
0
]);
}
else
{
//未识别
console
.
log
(
"
卫视吧
"
);
setVisible
(
true
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment