002 OpenCV+TensorFlow 测试案例hello world

002 OpenCV+TensorFlow 测试案例hello world

002 OpenCV+TensorFlow 测试案例hello world

002 OpenCV+TensorFlow 测试案例hello world

tensorflow的验证程序

#import 2strint 3print
import tensorflow as tf
hello=tf.constant('hello tf!')
sess=tf.Session()
print(sess.run(hello))
#note:1.常量创建 2.session上下文的创建 3print方法

 

opencv验证程序

import cv2
print('hello opencv')

 

相关文章: