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

Environment setup

As we saw in the previous section, there are three main parts of the service that we are building. To implement each of them, we need to install tools and libraries other than just OpenCV or scikit-image. The following is the list of libraries that we will be installing, with a brief explanation of why we need them:

  • http-server: This will serve the web files for the client
  • virtualenv: This will help in isolating your environment from other libraries on your computer
  • flask: This will help you to build a server (second box, clockwise in Figure 1)
  • flask-cors: This will help you to allow cross-origin requests to the server

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