What is readNetFromTensorflow?
cv2.dnn.readNetFromTensorflow(bufferModel, bufferConfig) reads a network model stored in TensorFlow framework’s format where:
bufferModel : buffer containing the content of the pb file.
bufferConfig : buffer containing the content of the pbtxt file