All Projects → douglasrizzo → detection_util_scripts

douglasrizzo / detection_util_scripts

Licence: MIT license
TF and YOLO utility scripts

Projects that are alternatives of or similar to detection util scripts

deepstream tao apps
Sample apps to demonstrate how to deploy models trained with TAO on DeepStream
Stars: ✭ 274 (+459.18%)
Mutual labels:  yolov3
DIoU YOLO V3
📈📈📈【口罩佩戴检测数据训练 | 开源口罩检测数据集和预训练模型】Train D/CIoU_YOLO_V3 by darknet for object detection
Stars: ✭ 53 (+8.16%)
Mutual labels:  yolov3
detection-pytorch
A pytorch Implementation of classical object detection.
Stars: ✭ 24 (-51.02%)
Mutual labels:  yolov3
edge-tpu-tiny-yolo
Run Tiny YOLO-v3 on Google's Edge TPU USB Accelerator.
Stars: ✭ 94 (+91.84%)
Mutual labels:  yolov3
TensorFlow
Swift high-level API for TensorFlow.
Stars: ✭ 49 (+0%)
Mutual labels:  tensorflow-models
darknet
php ffi darknet
Stars: ✭ 21 (-57.14%)
Mutual labels:  yolov3
pytorch YOLO OpenVINO demo
No description or website provided.
Stars: ✭ 73 (+48.98%)
Mutual labels:  yolov3
face-detection-tflite
Face and iris detection for Python based on MediaPipe
Stars: ✭ 78 (+59.18%)
Mutual labels:  tensorflow-models
Traffic-Light-Classification
A detailed tutorial on how to build a traffic light classifier with TensorFlow for the capstone project of Udacity's Self-Driving Car Engineer Nanodegree Program.
Stars: ✭ 110 (+124.49%)
Mutual labels:  tensorflow-models
Alturos.ImageAnnotation
A collaborative tool for labeling image data for yolo
Stars: ✭ 47 (-4.08%)
Mutual labels:  yolov3
Open-Source-Models
Address book for computer vision models.
Stars: ✭ 30 (-38.78%)
Mutual labels:  yolov3
Neural-Turing-Machine
TensorFlow implementation of a Neural Turing Machine
Stars: ✭ 23 (-53.06%)
Mutual labels:  tensorflow-models
Machine-Learning-Notebooks
15+ Machine/Deep Learning Projects in Ipython Notebooks
Stars: ✭ 66 (+34.69%)
Mutual labels:  tensorflow-models
TensorFlow-Multiclass-Image-Classification-using-CNN-s
Balanced Multiclass Image Classification with TensorFlow on Python.
Stars: ✭ 57 (+16.33%)
Mutual labels:  tensorflow-models
gans-2.0
Generative Adversarial Networks in TensorFlow 2.0
Stars: ✭ 76 (+55.1%)
Mutual labels:  tensorflow-models
YoloV3-Custom-Object-Detection
Custom Object Detection With YoloV3
Stars: ✭ 18 (-63.27%)
Mutual labels:  yolov3
Age-Gender Estimation TF-Android
Age + Gender Estimation on Android with TensorFlow Lite
Stars: ✭ 34 (-30.61%)
Mutual labels:  tensorflow-models
YOLO-Streaming
Push-pull streaming and Web display of YOLO series
Stars: ✭ 56 (+14.29%)
Mutual labels:  yolov3
MIT-Driverless-CV-TrainingInfra
PyTorch pipeline of MIT Driverless Computer Vision paper(2020)
Stars: ✭ 89 (+81.63%)
Mutual labels:  yolov3
IBM-Data-Science-Capstone-Alejandra-Marquez
Homemade face mask detector fine-tuning a Yolo-v3 network
Stars: ✭ 28 (-42.86%)
Mutual labels:  yolov3

Object detection utility scripts

This repo contains a few Python scripts which may be useful for those trying to create the necessary prerequisite files to train an object detection model, either by using the TensorFlow Object Detection API or darknet.

Take a look inside the examples directory to have an idea of the types of files that these scripts expect as input/generate as output.

Usage

The repo provides a collection of scripts, which are to be called from the terminal. In order to know what arguments a particular script expects, run it with the -h flag to see a help message. For example: python generate_tfrecord.py -h. The output files generated by some scripts are used as input files for other scripts. Please take a look at the flowchart at the end of this page to understand in which order to use them.

  • generate_csv.py reads the contents of image annotations stored in XML files, created with labelImg, and generates a single CSV file.
  • generate_train_eval.py reads the CSV file and separates it into train and evaluation datasets, which are also CSV files. There are options to stratify by class and to select which fraction of the input CSV will be directed to the train dataset (the rest going to evaluation).
  • generate_pbtxt.py reads the previously generated CSV file (or any CSV file that has a column named "class") or a text file containing a single class name per line and no header, and generates a label map, one of the files needed to train a detection model using TensorFlow's Object Detection API.
  • generate_tfrecord.py reads the previously generated CSV and label map files, as well as all the images from a given directory, and generates a TFRecord file, which can then be used to train an object detection model with TensorFlow. The resulting TFRecord file is about the same size of all the original images that were included in it.
  • generate_yolo_txt.py reads the CSV file and generates one .txt file for each image mentioned in the CSV file, whith the same name of the image file. These .txt files contain the object annotations for that image, in a format which darknet uses to train its models.

Script usage flowchart

Copyright

Licenses are so complicated. This work began as a fork of Dat Tran's raccoon dataset repository, but then it became its own thing. Anyway, the license is unchanged and is in the repo.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].