All Projects → shaqian → Not Hotdog

shaqian / Not Hotdog

Licence: gpl-3.0
Built with TensorFlow, Yolov2 Tiny and React Native | Flutter | Javascript

Projects that are alternatives of or similar to Not Hotdog

Multitarget Tracker
Multiple Object Tracker, Based on Hungarian algorithm + Kalman filter.
Stars: ✭ 1,621 (+1321.93%)
Mutual labels:  yolo
Laqul
A complete starter kit that allows you create amazing apps that look native thanks to the Quasar Framework. Powered by an API developed in Laravel Framework using the easy GraphQL queries language. And ready to use the Google Firebase features.
Stars: ✭ 110 (-3.51%)
Mutual labels:  pwa
Mobilenet Yolo
MobileNetV2-YoloV3-Nano: 0.5BFlops 3MB HUAWEI P40: 6ms/img, YoloFace-500k:0.1Bflops 420KB🔥🔥🔥
Stars: ✭ 1,566 (+1273.68%)
Mutual labels:  yolo
Pwa Cookbook
personally website
Stars: ✭ 107 (-6.14%)
Mutual labels:  pwa
Tensorflow Yolo1
目标检测yolo算法,采用tensorflow框架编写,中文注释完全,含测试和训练,支持摄像头
Stars: ✭ 107 (-6.14%)
Mutual labels:  yolo
Pwa Asset Generator
Automates PWA asset generation and image declaration. Automatically generates icon and splash screen images, favicons and mstile images. Updates manifest.json and index.html files with the generated images according to Web App Manifest specs and Apple Human Interface guidelines.
Stars: ✭ 1,787 (+1467.54%)
Mutual labels:  pwa
Amp Pwa Demo
A simple, dependency-free blog that uses a Progressive Web App (PWA) to show Accellerated Mobile Pages (AMP).
Stars: ✭ 104 (-8.77%)
Mutual labels:  pwa
Pytorch cpp
Deep Learning sample programs using PyTorch in C++
Stars: ✭ 114 (+0%)
Mutual labels:  yolo
Runbox7
Runbox 7 web app
Stars: ✭ 107 (-6.14%)
Mutual labels:  pwa
Opennote
OpenNote was built to be an open web-based alternative to Microsoft OneNote (T) and EverNote.
Stars: ✭ 1,489 (+1206.14%)
Mutual labels:  pwa
Keras Yolo3
Training and Detecting Objects with YOLO3
Stars: ✭ 1,532 (+1243.86%)
Mutual labels:  yolo
Ionic Framework
A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
Stars: ✭ 45,802 (+40077.19%)
Mutual labels:  pwa
Peridot
A fast and powerful Vue.js PWA boilerplate
Stars: ✭ 111 (-2.63%)
Mutual labels:  pwa
Yolov5 Rt Stack
Yet another yolov5, with its runtime stack for libtorch, onnx, tvm and specialized accelerators. You like torchvision's retinanet? You like yolov5? You love yolort!
Stars: ✭ 107 (-6.14%)
Mutual labels:  yolo
Knowledge
文档着重构建一个完整的「前端技术架构图谱」,方便 F2E(Front End Engineering又称FEE、F2E) 学习与进阶。
Stars: ✭ 1,620 (+1321.05%)
Mutual labels:  pwa
Ionic Stencil Hn App
Ionic Stencil HackerNews App
Stars: ✭ 105 (-7.89%)
Mutual labels:  pwa
Sysmon
A B/S mode system monitor for linux (demo http://199.247.1.240:2048)
Stars: ✭ 110 (-3.51%)
Mutual labels:  pwa
A2hs.js
📲 A useful modern JavaScript solution that helps your website users to add (install) a progressive web application (PWA) to the Home Screen of their mobile iOS devices.
Stars: ✭ 113 (-0.88%)
Mutual labels:  pwa
Pedestrian Cam
Monitoring Foot Traffic over IP Webcams with ML
Stars: ✭ 113 (-0.88%)
Mutual labels:  yolo
Vehicle Detection Yolo Ver
real-time Vehicle Detection( tiny YOLO ver) and HOG+SVM method
Stars: ✭ 111 (-2.63%)
Mutual labels:  yolo

中文文档

Not Hotdog

Personal implementation of Jin Yang's Not Hotdog app in HBO's Silicon Valley.

seefood

App developed with:

Model trained on:

Links


Building the Model

1. Collecting data set

I used COCO dataset 2014 to train the model. COCO dataset contains 80 thing classes, one of which is "hot dog".

I created a Python script (./yolo/coco2yolo.py) to extract all the hot dog images (800+ from train and 400+ from val) and convert the annotations to yolo format.

2. Training Yolov2 Tiny

The model is trained with a single class "hotdog" using this fork of darknet.

darknet.exe partial yolov2-tiny.cfg yolov2-tiny.weights yolov2-tiny.conv.13 13

The .cfg file and initial weights can be found in ./yolo directory

darknet.exe detector train data\obj.data yolov2-tiny-hotdog.cfg yolov2-tiny.conv.13

3. Converting weights to TensorFlow protobuf (.pb)

The yolo weights is converted to TensorFlow model using darkflow:

flow --model ../yolov2-tiny-hotdog.cfg --load ../yolov2-tiny-hotdog_final.weights  --savepb

The saved .pb file can be found in ./yolo directory.

4. Quantization

The saved .pb is about 44MB. I used the quantization script in Tensorflow repo to quantize and reduced the size to 11MB.

python3 tensorflow/tools/quantization/quantize_graph.py --input=yolov2-tiny-hotdog.pb --output_node_names=output --output=quantized_yolov2-tiny-hotdog.pb --mode=weights

The quantized .pb file can be found in ./react-native-NotHotdog/ios/NotHotdog/data directory.

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].