All Projects → Mrlawrance → yolov3-ios

Mrlawrance / yolov3-ios

Licence: other
Using yolo v3 object detection on ios platform.

Programming Languages

python
139335 projects - #7 most used programming language
swift
15916 projects

Projects that are alternatives of or similar to yolov3-ios

Tensornets
High level network definitions with pre-trained weights in TensorFlow
Stars: ✭ 982 (+1685.45%)
Mutual labels:  densenet, yolov3
DenseNet-Tensorflow
Reimplementation of DenseNet
Stars: ✭ 16 (-70.91%)
Mutual labels:  densenet
IBM-Data-Science-Capstone-Alejandra-Marquez
Homemade face mask detector fine-tuning a Yolo-v3 network
Stars: ✭ 28 (-49.09%)
Mutual labels:  yolov3
facetouch
Neural Network to predict face touch on live feed and warn you, "don't touch the face".
Stars: ✭ 24 (-56.36%)
Mutual labels:  yolov3
detection-pytorch
A pytorch Implementation of classical object detection.
Stars: ✭ 24 (-56.36%)
Mutual labels:  yolov3
baai-federated-learning-helmet-baseline
电力人工智能数据竞赛——安全帽未佩戴行为目标检测赛道基准模型
Stars: ✭ 26 (-52.73%)
Mutual labels:  yolov3
darknet
php ffi darknet
Stars: ✭ 21 (-61.82%)
Mutual labels:  yolov3
object detection
Implementatoin of object detection using Tensorflow 2.1.0 | this can be use in a car for object detection
Stars: ✭ 13 (-76.36%)
Mutual labels:  yolov3
YOLOv3-CoreML
YOLOv3 for iOS implemented using CoreML.
Stars: ✭ 166 (+201.82%)
Mutual labels:  yolov3
Social-Distancing-Detection-in-Real-Time
Social distance monitoring in real-time with an IP camera. Optimized for better performance with threading.
Stars: ✭ 52 (-5.45%)
Mutual labels:  yolov3
udacity-cvnd-projects
My solutions to the projects assigned for the Udacity Computer Vision Nanodegree
Stars: ✭ 36 (-34.55%)
Mutual labels:  yolov3
MIT-Driverless-CV-TrainingInfra
PyTorch pipeline of MIT Driverless Computer Vision paper(2020)
Stars: ✭ 89 (+61.82%)
Mutual labels:  yolov3
awesome-computer-vision-models
A list of popular deep learning models related to classification, segmentation and detection problems
Stars: ✭ 419 (+661.82%)
Mutual labels:  densenet
Alturos.ImageAnnotation
A collaborative tool for labeling image data for yolo
Stars: ✭ 47 (-14.55%)
Mutual labels:  yolov3
YOLO
A pytorch implementation of YOLOv1-v3
Stars: ✭ 47 (-14.55%)
Mutual labels:  yolov3
Skin Lesions Classification DCNNs
Transfer Learning with DCNNs (DenseNet, Inception V3, Inception-ResNet V2, VGG16) for skin lesions classification
Stars: ✭ 47 (-14.55%)
Mutual labels:  densenet
detection util scripts
TF and YOLO utility scripts
Stars: ✭ 49 (-10.91%)
Mutual labels:  yolov3
ESP32-CAM-MJPEG-Stream-Decoder-and-Control-Library
The library is MJPEG stream decoder based on libcurl and OpenCV, and written in C/C++.
Stars: ✭ 40 (-27.27%)
Mutual labels:  yolov3
yolov4 trt ros
YOLOv4 object detector using TensorRT engine
Stars: ✭ 89 (+61.82%)
Mutual labels:  yolov3
tfjs-yolo
YOLO v3 and Tiny YOLO v1, v2, v3 with Tensorflow.js
Stars: ✭ 108 (+96.36%)
Mutual labels:  yolov3

yolov3-ios

Using yolo v3 object detection on ios platform.

Example applications:

car

QuickStart:

Run tiny_model.xcodeproj in ios.

Training

The training process mainly consults qqwweee/keras-yolo3. We add yolov3 with Densnet.

1.Requirement

  • python 3.6.4
  • keras 2.1.5
  • tensorflow 1.6.0

2.Generate datasets

Generate datasets with VOC format. And try python voc_annotations.

3.Start training

  • cd yolov3_with_Densenet

For yolo model with darknet:

  • wget https://pjreddie.com/media/files/darknet53.conv.74
  • rename it as darknet53.weights
  • python convert.py -w darknet53.cfg darknet53.weights model_data/darknet53_weights.h5
  • python yolov3_train.py, with model_data/darknet53_weights.h5 as pre-trained model

For yolo model with densenet:

  • python densenet_train.py, with model_data/dense121_weights.h5 as pre-trained model

Converting

1.Building environment

virtualenv -p /usr/bin/python2.7 keras_coreml_virt
source keras_coreml_virt/bin/activate
pip install protobuf
pip install tensorflow==1.6.0
pip install keras==2.1.5
pip install h5py
pip install coremltools==0.8.0

2.Convert .h5 model to .mlmodel

python coreml.py

Building project in Xcode

  • open tiny_model.xcodeproj with Xcode 9+
  • change the .mlmodel file and Target Menmbership

For yolo model with darknet or densenet

  • modify the code from line 43 to line 49 in YOLO.swift
  • change the labels and the anchors in Helpers.swift
  • run the project

For tiny model

  • just change the labels and run the project
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].