Skip to content

Commit aed91d2

Browse files
【fix】 修复目标检测例子名错误 review by songym
1 parent bffabf6 commit aed91d2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/locales/zh-CN/resources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ window.examplesResources = {
639639
"title_mvt_mapboxgl":"MVT WGS84 (叠加 MapboxGL)",
640640
"title_binary_classification": "二元分类",
641641
"title_landcover_classification": "地物分类",
642-
"title_object_detection": "目标识别",
642+
"title_object_detection": "目标检测",
643643

644644
"text_service_name":"名称",
645645
"text_service_type":"类型",

examples/mapboxgl/ObjectDetection.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<head>
88
<meta charset="UTF-8">
9-
<title data-i18n='resources.title_binary_classification'></title>
9+
<title data-i18n='resources.title_object_detection'></title>
1010
<style>
1111
#predict {
1212
position: absolute;
@@ -22,7 +22,7 @@
2222
<script type="text/javascript" include="bootstrap,vue" src="../js/include-web.js"></script>
2323
<script include="tensorflow" src="../../dist/mapboxgl/include-mapboxgl.js"></script>
2424
<script>
25-
var modelUrl = 'https://iclient.supermap.io/web/data/machine_learning/objcet_detection/model.json';
25+
var modelUrl = 'https://iclient.supermap.io/web/data/machine_learning/object_detection/model.json';
2626
var img = document.querySelector('#tileImg16');
2727
var canvas = document.querySelector('#data-canvas1');
2828
var ctx = canvas.getContext('2d');

0 commit comments

Comments
 (0)