Tensorflow vs OpenCV

binmosa picture binmosa · Apr 19, 2018 · Viewed 38.8k times · Source

I'm new into the AI world, I've start doing some stuff using Python & OpenCV for face detection and so on. I know that with the implementation of some algorithms I can develop AI system using Python & OpenCV. So my question is : What is the position of Tensorflow here? Can I say Tensorflow is an alternative to OpenCV? as I can say Python is an alternative programming language to Java (for example).

Answer

Emmet B picture Emmet B · Apr 19, 2018

The main difference is that TensorFlow is a framework for machine learning, and OpenCV is a library for computer vision. It can be a good start to check the link below to get a grasp for the difference between framework and library: What is the difference between a framework and a library?

You can do image recognition with TensorFlow. Though it is suited for more general problems as well, such as: classification, clustering and regression.

I guess people downvoted because this question might be more relevant to: https://datascience.stackexchange.com/