tensorflow推出的object detection模块,为我们做物体检测提供了极大的便利,如果还没有安装该模块,可以参照
http://blog.csdn.net/hanshuobest/article/details/79222685
下面的示例演示如何用已训练的模型做物体检测
import numpy as np
import os
import tensorflow as tf
from collections import defaultdict
from matplotlib import pyplot as plt
from PIL import Image
from object_detection.utils import label_map_util