67

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).

binmosa
  • 967
  • 1
  • 7
  • 9

1 Answers1

71

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/

Emmet B
  • 5,341
  • 6
  • 34
  • 47
  • 3
    Thank you @Emmet. It's more clearer now, especially the part of library vs framework. – binmosa Apr 20 '18 at 12:42
  • 3
    My experience with downvotes is that they come more from an OP's unwillingness to google for 10 minutes before submitting a question. Or at least that seems to be the kind-of litmus test for the majority of downvotes I've seen. – Jacksonkr Mar 25 '19 at 20:39