TensorFlow is a free open source math library required for implementing neural networks. It uses Python to provide a convenient front-end API for building applications with the framework while executing those applications in high-performance C++.
OpenCV is a library which is widely used for Computer Vision. For ex. Facial recognition, Optical character recognition.
OpenCv is basically a programming library we use in Computer Vision where we see the real time data