简体   繁体   English

如何在张量流中使用CNN的特征进行物体检测?

[英]How to do object detection using CNN's features in tensorflow?

I am trying to make an end to end unified model that detects(localizes) the object in an image. 我试图结束统一模型,检测(本地化)图像中的对象。 The object itself can be of many types, like "text in the wild", but the surrounding features of the object should determine where the region of interest is. 对象本身可以是多种类型,例如“野外文本”,但对象的周围特征应该确定感兴趣区域的位置。

Like detecting a human face, without considering the features of the face itself. 就像检测人脸一样,不考虑脸部本身的特征。 ie its some rage distance about the neck. 即它在脖子上的一些距离。

I'm expecting the output to be coordinates of the object, or like the image-net format to generate bounding boxes like : [xmin , ymin , xmax, ymax] I have a data-set of 500 images. 我期望输出是对象的坐标,或者像图像网格式一样生成边界框,如:[xmin,ymin,xmax,ymax]我有500个图像的数据集。 Are there any examples of object detection in tensorflow based on surrounding features. 是否存在基于周围特征的张量流中的对象检测的任何示例。 ie the feature maps from conv1 or conv2. 即来自conv1或conv2的特征映射。 ?

There is Tensorflow based framework for object detection/localization that you can check out: https://github.com/Russell91/TensorBox 有基于Tensorflow的对象检测/本地化框架,您可以查看: https//github.com/Russell91/TensorBox

Though, I am not sure that 500 images would be enough to successfully retrain provided model(s). 虽然,我不确定500张图像是否足以成功重新训练所提供的模型。

Object detection using deep learning is broadly classified in to one-stage detectors (Yolo,SSD) and two stage detectors like Faster RCNN. 使用深度学习的对象检测大致分为一级检测器(Yolo,SSD)和两级检测器,如Faster RCNN。 Google's repo[1] contains pre-trained models for various detection architectures. Google的repo [1]包含各种检测体系结构的预训练模型。

You could pick up a pre-trained model and then train it on your dataset. 您可以选择预先训练的模型,然后在数据集上进行训练。 The two-stage model is modular and you have a choice of different feature extractors depending on whether speed/accuracy is crucial for you. 两阶段模型是模块化的,您可以选择不同的特征提取器,具体取决于速度/准确度对您是否至关重要。

[1] Google's object detection repository [1] Google的对象检测存储库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用CNN的Tensorflow对象检测API - Tensorflow object detection API using cnn 对象检测 - 如何使用CNN检测和提取特征并使用分类器对其进行分类? - Object detection - How to detect and extract features using CNN and classify them using a classifier? 将Tensorflow对象检测与keras CNN分类器集成 - Integrating Tensorflow object detection with keras cnn classifier 如何使用Tensorflow对象检测API提高对象检测的精度? - How to improve precision of object detection using tensorflow object detection API? 使用Tensorflow进行对象检测 - Object Detection using Tensorflow 如何使 tensorflow 对象检测更快-r cnn 模型在 Android 上工作? - How to make tensorflow object detection faster-r cnn model work on Android? 如何在Tensorflow框架中将L2-Loss函数用于对象检测CNN? - How can I use L2-Loss function for Object-detection CNN in Tensorflow framework? tensorflow 如何进行 CNN 计算? - how tensorflow do CNN Calculation? 如何准确检索使用Tensorflow Object Detection API检测到的对象的边界框? - How do I accurately retrieve the bounding box of an object detected using Tensorflow Object Detection API? 在使用Tensorflow对象检测API进行训练时,我如何知道步骤总数? - How do I know the total number of steps while training using Tensorflow Object Detection API?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM