All Projects → maru-labo → doodle

maru-labo / doodle

Licence: MIT license
Doodle image recognition with TensorFlow.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to doodle

Deep-Learning-CNN-for-Image-Recognition
Google TensorFlow project for classification using images or video input.
Stars: ✭ 33 (+43.48%)
Mutual labels:  image-recognition
ICCV2021-Paper-Code-Interpretation
ICCV2021/2019/2017 论文/代码/解读/直播合集,极市团队整理
Stars: ✭ 2,022 (+8691.3%)
Mutual labels:  image-recognition
concurrent-video-analytic-pipeline-optimization-sample-l
Create a concurrent video analysis pipeline featuring multistream face and human pose detection, vehicle attribute detection, and the ability to encode multiple videos to local storage in a single stream.
Stars: ✭ 39 (+69.57%)
Mutual labels:  image-recognition
survey-computer-vision-2021
2021年计算机视觉技术综述分类汇总
Stars: ✭ 54 (+134.78%)
Mutual labels:  image-recognition
safety-gear-detector-python
Observe workers as they pass in front of a camera to determine if they have adequate safety protection.
Stars: ✭ 54 (+134.78%)
Mutual labels:  image-recognition
pytorch-vit
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Stars: ✭ 250 (+986.96%)
Mutual labels:  image-recognition
python-opencv-crop
Crop images using contrast to background
Stars: ✭ 25 (+8.7%)
Mutual labels:  image-recognition
Look4Face
Demo of Face Recognition web service
Stars: ✭ 23 (+0%)
Mutual labels:  image-recognition
Covid-chest-Image-classification-from-Deep-Residual-Networks
No description or website provided.
Stars: ✭ 14 (-39.13%)
Mutual labels:  image-recognition
Object-sorting-using-Robotic-arm-and-Image-processing
Sorting objects of different colors using robotic arm and using computer vision (image processing).
Stars: ✭ 21 (-8.7%)
Mutual labels:  image-recognition
tensorflow-image-classifier
Easily train an image classifier and then use it to label/tag other images
Stars: ✭ 29 (+26.09%)
Mutual labels:  image-recognition
XCloud
Official Code for Paper <XCloud: Design and Implementation of AI Cloud Platform with RESTful API Service> (arXiv1912.10344)
Stars: ✭ 58 (+152.17%)
Mutual labels:  image-recognition
doodlecricket.github.io
Doodle Cricket
Stars: ✭ 66 (+186.96%)
Mutual labels:  doodle
aml-keras-image-recognition
A sample Azure Machine Learning project for Transfer Learning-based custom image recognition by utilizing Keras.
Stars: ✭ 14 (-39.13%)
Mutual labels:  image-recognition
ocr recognition
use java opencv tesseract ocr image words detects and recognition,use python generate jTessBoxEditor train box file
Stars: ✭ 52 (+126.09%)
Mutual labels:  image-recognition
MNIST
Handwritten digit recognizer using a feed-forward neural network and the MNIST dataset of 70,000 human-labeled handwritten digits.
Stars: ✭ 28 (+21.74%)
Mutual labels:  image-recognition
clarifai-php
Clarifai API client for PHP
Stars: ✭ 24 (+4.35%)
Mutual labels:  image-recognition
clarifai
Clarifai PHP library for image recognition.
Stars: ✭ 15 (-34.78%)
Mutual labels:  image-recognition
CoreML-and-Vision-with-a-pre-trained-deep-learning-SSD-model
This project shows how to use CoreML and Vision with a pre-trained deep learning SSD (Single Shot MultiBox Detector) model. There are many variations of SSD. The one we’re going to use is MobileNetV2 as the backbone this model also has separable convolutions for the SSD layers, also known as SSDLite. This app can find the locations of several di…
Stars: ✭ 16 (-30.43%)
Mutual labels:  image-recognition
VideoRecognition-realtime-autotrainer-alerts
State of the art object detection in real-time using YOLOV3 algorithm. Augmented with a process that allows easy training of the classifier as a plug & play solution . Provides alert if an item in an alert list is detected.
Stars: ✭ 36 (+56.52%)
Mutual labels:  image-recognition

Doodle Image Recognition by MaruLabo

It is a classification model of 'doodle' image. Classify from 28 pixel square grayscale images. The learning data uses "The Quick, Draw! Dataset".

The model binaries are included in the release.

There is the program source code in src/doodle directory.

  • model.py: The model definition.
  • inputs.py: Dataset preprocess definition.
  • metrics.py: Metrics calculations.

About Datasets

Data is not included in this repository. The data setup program downloads "The Quick, Draw! Dataset".

It data made available by Google, Inc. under the Creative Commons Attribution 4.0 International license. https://creativecommons.org/licenses/by/4.0/

Examples

for Web

  • examples/tensorflow_js_simple: TensorFlow.js + PWA
  • examples/tensorflow_js: TensorFlow.js + Vue.js

for Android

  • examples/tensorflow_lite_android: TensorFlow Lite (Java)

for Raspberry Pi

  • examples/tensorflow_lite_rpi: TensorFlow Lite (C++)

How to use

Install dependency packages:

$ pip install -r requirements.txt

Training on local machne:

$ python ./tools/train_local.py -c ./config.yaml

You will get results such as:

###### metrics #################################################################
global_step                   : 2000
loss                          : 0.402699053288
macro_average/accuracy        : 0.973749995232
macro_average/f_measure       : 0.870679736137
macro_average/precision       : 0.875779151917
macro_average/recall          : 0.880717754364
macro_class_0/accuracy        : 0.994791686535
macro_class_0/f_measure       : 0.968742370605
macro_class_0/precision       : 0.956623375416
macro_class_0/recall          : 0.985714316368
macro_class_1/accuracy        : 0.981249988079
macro_class_1/f_measure       : 0.870249092579
macro_class_1/precision       : 0.824982345104
macro_class_1/recall          : 0.930000007153
macro_class_2/accuracy        : 0.951041579247
macro_class_2/f_measure       : 0.762770295143
macro_class_2/precision       : 0.769061267376
macro_class_2/recall          : 0.773762583733
macro_class_3/accuracy        : 0.914583384991
macro_class_3/f_measure       : 0.667931675911
macro_class_3/precision       : 0.730173766613
macro_class_3/recall          : 0.627005696297
macro_class_4/accuracy        : 0.981250107288
macro_class_4/f_measure       : 0.876377105713
macro_class_4/precision       : 0.921818137169
macro_class_4/recall          : 0.857774138451
macro_class_5/accuracy        : 0.978124976158
macro_class_5/f_measure       : 0.913400948048
macro_class_5/precision       : 0.870901882648
macro_class_5/recall          : 0.9650349617
macro_class_6/accuracy        : 0.978124916553
macro_class_6/f_measure       : 0.885983645916
macro_class_6/precision       : 0.92440110445
macro_class_6/recall          : 0.864556491375
macro_class_7/accuracy        : 0.981249928474
macro_class_7/f_measure       : 0.897269070148
macro_class_7/precision       : 0.904123425484
macro_class_7/recall          : 0.909956753254
macro_class_8/accuracy        : 0.993749976158
macro_class_8/f_measure       : 0.958296000957
macro_class_8/precision       : 0.966666579247
macro_class_8/recall          : 0.956547617912
macro_class_9/accuracy        : 0.983333289623
macro_class_9/f_measure       : 0.905776977539
macro_class_9/precision       : 0.889040350914
macro_class_9/recall          : 0.93682539463
micro_average/accuracy        : 0.973749995232
micro_average/f_measure       : 0.868749916553
micro_average/precision       : 0.868749976158
micro_average/recall          : 0.868749976158

How to convert the model format?

TFLite model format (*.tflite)

Using tools/convert_tflite.py and your SavedModel directory (it have saved_model.pb file):

$ python ./tools/convert_tflite.py <path/to/your/savedmodel/dir> <filename/output.tflite>

More details can be seen: python tools/convert_tflite.py -h.

TensorFlow.js model format (tensorflowjs_model.pb and others)

Using tools/convert_tfjs.py and your SavedModel directory.

$ python tools/convert_tfjs.py <path/to/your/savedmodel/dir> <path/to/output/dir>

More details can be seen: python tools/convert_tflite.py -h.

License

MIT license

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