Skip to content

Commit 3ccf1c7

Browse files
set default limit value to 0
1 parent dc5c4c5 commit 3ccf1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

face_founder_demo/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function App() {
8080
setUploadedImage( myEvent.target.result )
8181
let sendata = myEvent.target.result.split(',')[1];
8282

83-
recognitionService.recognize(sendata, { prediction_count: 100, face_plugins: "age,gender"})
83+
recognitionService.recognize(sendata, {limit:10, prediction_count: 100, face_plugins: "age,gender"})
8484
.then(res => {
8585
setLoading(false)
8686
setFullData(res.result[0].subjects);

0 commit comments

Comments
 (0)