瀏覽代碼

Updated image classifer unit test to darknet19

TC 3 年之前
父節點
當前提交
7b18804690
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      web/UnitTest/backend/image.classify.js

+ 2 - 2
web/UnitTest/backend/image.classify.js

@@ -7,7 +7,7 @@ function main(){
     http.download("https://cdn.pixabay.com/photo/2017/03/28/12/10/chairs-2181947_960_720.jpg", "tmp:/", "classify.jpg");
 
     //Get image classification, will take a bit time
-    var results = imagelib.classify("tmp:/classify.jpg", "yolo3"); 
+    var results = imagelib.classify("tmp:/classify.jpg", "darknet19"); 
     var responses = [];
     for (var i = 0; i < results.length; i++){
         responses.push({
@@ -23,4 +23,4 @@ function main(){
     sendJSONResp(JSON.stringify(responses));
 }
 
-main();
+main();