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

Server

Go to the Server folder that we created earlier in the chapter. It should have just one file, app.js.

To run the Flask server, run the following command using the Terminal:

$: python3 app.py

Once you run that, you will see that the server is running again on localhost but on a different port (by default, it is 5000). If you see no errors, it means that the server is running fine.

We have everything running now. You can go to the web page and start playing around with the page that you just built.

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