O'Reilly logo

Computer Vision with Python 3 by Saurabh Kapur

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Client

Go to the client folder where we created the index.html and index.js files. In that folder, using the Terminal, run the following command:

$: http-server .

Don't forget the dot—this means to run the server using the files in the current folder. If you want to run the server from a different location, you can pass the appropriate path after http-server. The http-server will start on your localhost using port 8080. To test the server, open your favorite browser and hit http://localhost:8080/. You should see a page similar to Figure 1.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required