All Projects → dimorinny → tensorflow-image-classificator

dimorinny / tensorflow-image-classificator

Licence: Apache-2.0 license
HTTP service for Tensorflow images classification model

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to tensorflow-image-classificator

Skin-Lesion-Recognition.Pytorch
Rank3 Code for ISIC 2018: Skin Lesion Analysis Towards Melanoma Detection, Task 3
Stars: ✭ 37 (+146.67%)
Mutual labels:  classification
Dimensionality-reduction-and-classification-on-Hyperspectral-Images-Using-Python
In this repository, You can find the files which implement dimensionality reduction on the hyperspectral image(Indian Pines) with classification.
Stars: ✭ 63 (+320%)
Mutual labels:  classification
Opensource OBIA processing chain
An open-source semi-automated processing chain for urban OBIA classification.
Stars: ✭ 75 (+400%)
Mutual labels:  classification
volkscv
A Python toolbox for computer vision research and project
Stars: ✭ 58 (+286.67%)
Mutual labels:  classification
nlp classification
Implementing nlp papers relevant to classification with PyTorch, gluonnlp
Stars: ✭ 224 (+1393.33%)
Mutual labels:  classification
XED
XED multilingual emotion datasets
Stars: ✭ 34 (+126.67%)
Mutual labels:  classification
candock
A time series signal analysis and classification framework
Stars: ✭ 56 (+273.33%)
Mutual labels:  classification
neuralBlack
A Multi-Class Brain Tumor Classifier using Convolutional Neural Network with 99% Accuracy achieved by applying the method of Transfer Learning using Python and Pytorch Deep Learning Framework
Stars: ✭ 36 (+140%)
Mutual labels:  classification
InstantDL
InstantDL: An easy and convenient deep learning pipeline for image segmentation and classification
Stars: ✭ 33 (+120%)
Mutual labels:  classification
focalloss
Focal Loss of multi-classification in tensorflow
Stars: ✭ 75 (+400%)
Mutual labels:  classification
kaggle-human-protein-atlas-image-classification
Kaggle 2018 @ Human Protein Atlas Image Classification
Stars: ✭ 34 (+126.67%)
Mutual labels:  classification
HRFormer
This is an official implementation of our NeurIPS 2021 paper "HRFormer: High-Resolution Transformer for Dense Prediction".
Stars: ✭ 357 (+2280%)
Mutual labels:  classification
napkinXC
Extremely simple and fast extreme multi-class and multi-label classifiers.
Stars: ✭ 38 (+153.33%)
Mutual labels:  classification
GenderClassifier
Gender_classification_challenge
Stars: ✭ 40 (+166.67%)
Mutual labels:  classification
sklearn-audio-classification
An in-depth analysis of audio classification on the RAVDESS dataset. Feature engineering, hyperparameter optimization, model evaluation, and cross-validation with a variety of ML techniques and MLP
Stars: ✭ 31 (+106.67%)
Mutual labels:  classification
text classifier
Tensorflow2.3的文本分类项目,支持各种分类模型,支持相关tricks。
Stars: ✭ 135 (+800%)
Mutual labels:  classification
MLLabelUtils.jl
Utility package for working with classification targets and label-encodings
Stars: ✭ 30 (+100%)
Mutual labels:  classification
snomed-owl-toolkit
The official SNOMED CT OWL Toolkit. OWL conversion, classification and authoring support.
Stars: ✭ 58 (+286.67%)
Mutual labels:  classification
ProbQA
Probabilistic question-asking system: the program asks, the users answer. The minimal goal of the program is to identify what the user needs (a target), even if the user is not aware of the existence of such a thing/product/service.
Stars: ✭ 43 (+186.67%)
Mutual labels:  classification
eeg-rsenet
Motor Imagery EEG Signal Classification Using Random Subspace Ensemble Network
Stars: ✭ 24 (+60%)
Mutual labels:  classification

Tensorflow image classificator

Http proxy for Tensorflow image classification model that can used as microservice in your application. Classification model that you will pass to container should be based on Google inception model. For more information you can read docs or watch guide.

Run server

docker run -d -p 80:80 -v <graph-path>:/project/graph dimorinny/tensorflow-image-classificator

Graph path should contains:

  • Protobuf graph file retrained_graph.pb
  • Labels text file retrained_labels.txt

Environment parameters:

  • PROCESS_POOL_SIZE - Count of worker processes for recognition (by default using count of cpus)
  • TENSORFLOW_MODEL_PATH - Path to graph and text file with recognition labels (by default /project/graph)
  • PORT - Http proxy port (80 by default)

Usage

For image classification you should execute GET request with image url param like this:

http://127.0.0.1:8080/api/v1/recognize?image=http://i.imgur.com/yAWdJ9b.jpg

Also you can send image using POST request with image form-data param using same url.

After that server returns recognition result for every labels that contains in your graph. For example after success request you got response like this:

{
  "status": "success",
  "response": {
    "bad food": 0.23140761256217957,
    "good food": 0.7685924172401428
  }
}

When some error occured during recognition process you got reponse like this:

{
  "status": "error"
}

For more details you should look at stderr.

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