Reader small image

You're reading from  Computer Vision for the Web

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785886171
Edition1st Edition
Languages
Right arrow
Author (1)
Foat Akhmadeev
Foat Akhmadeev
author image
Foat Akhmadeev

Foat Akhmadeev has 5 years of experience in software development and research. He completed his master's degree in the year 2014 from the Kazan Federal University, Russia. He has worked on different projects, including development of high-loaded websites written in Java and real-time object detection for mobile phones. He has an extensive background in the field of Computer Vision. He has also written a scientific paper on 3D reconstruction from a single image. For more information, you can visit his website at http://foat.me.
Read more about Foat Akhmadeev

Right arrow

Importance of client-side scripting


So, why do we use JavaScript? We have already addressed this in the preface. Now, you can probably answer it by yourself.

When it comes to practical Computer Vision, many people mention the OpenCV library (http://opencv.org). Yes, it does provide the outstanding functionality for people who do not know much about Computer Vision. Unfortunately, it is written in C++ and does not provide an interface for JavaScript. And if it does, a user needs to install the OpenCV package on their computer, which is not good for the end user, as they would want to use your websites without installing anything.

If you just install the backend library on your side and do the whole computation on your servers, then you will need a ton of clusters to support your website. Even a small portion of Computer Vision algorithms can slow down computer performance significantly. This is probably why you will prefer to use the client-side scripting.

It is now time for JavaScript to show...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Computer Vision for the Web
Published in: Oct 2015Publisher: PacktISBN-13: 9781785886171

Author (1)

author image
Foat Akhmadeev

Foat Akhmadeev has 5 years of experience in software development and research. He completed his master's degree in the year 2014 from the Kazan Federal University, Russia. He has worked on different projects, including development of high-loaded websites written in Java and real-time object detection for mobile phones. He has an extensive background in the field of Computer Vision. He has also written a scientific paper on 3D reconstruction from a single image. For more information, you can visit his website at http://foat.me.
Read more about Foat Akhmadeev