版权声明:本文为博主Victor 原创文章,未经博主Victor允许不得转载。This article is written by Blogger Victor, it coule be tranferred to under your name only gotten Victor's Permission. https://blog.csdn.net/u013538542/article/details/80988512
Object Detection in Tensorflow in Real-Time Detection
So in this blog post, I won’t not show a effect picture or video, because it’s like my first article and second article
I’m going to say, I’m using opencv and camera for object detection in real-time, but most of the code have implemented in previous article, so here I just write the important code for real-time detect
# import open cv 2
import cv2
# initialize a camera object
cap = cv2.VideoCapture(0)
# read image from camera
ret,image_np = cap.read()
# show video in a window with size (960, 700)
cv2.imshow('image',cv2.resize(image_np,(960,700)))
For detailed information on above all the code and tutorials, see my Github