Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 428 Bytes

File metadata and controls

12 lines (9 loc) · 428 Bytes

Client Demo

It is a simple NodeJs script to make HTTP requests in a loop.

There are two "async" loops:

  1. Keep picking a image from /images folder to upload to server localhost:8080/image
  2. Keep querying the latest inference result by invoking server localhost:8080/result, and then displays them on console.

Run the command below to execute the script (you need to install NodeJS first):

node app.js