Package: ocr-rule
READMENEWSDateNewsVersionSept 2019face recognition (insight face) was released for inferencing (STABLE), for training will available in the future version>= v0.7.4August 2019deeplab semantic segmentation (PREVIEW version)was released>= v0.6.10Mei 2019yolov3 object detection (STABLE version) was relesed> v0.5.1April 2019Unet-segmentation (PREVIEW version)v0.4.18Tensorflow CompatibilityTensorflow versionSimple-Tensor Version1.4.1 - 1.1<=v0.4.01.13.1 and 1.15.0>=v0.4.3ABOUT PROJECTThis project is a simplification of tensorflow operations and related projectsDEPENDENCIESTensorflow (1.4.1 - 1.15.0)pip3 install tensorflow-gpuComdutilspip3 install comdutilsopencv-pythonpip3 install opencv-pythonnumpyHOW TO USE:shipit: Installing The Packagepip3installsimple-tensor:shipit: Import The PackageTensor Operationsimporttensorflowastf# tensor operationsfromsimple_tensor.tensor_operationsimport*# tensor lossesfromsimple_tensor.tensor_lossesimport*# tensor metricsfromsimple_tensor.tensor_metricsimport*This packages contains tensor operations (conv2d, conv1d, depthwise conv2d, fully connected, conv2d transpose), tensor losses (softmax & sigmoid cross entropy, MSE), and tensor metrics (accuracy). For more detail documentations about tensor operations, visitthis pageTransfer Learning Package (Image Classification)importtensorflowastffromsimple_tensor.transfer_learning.inception_utilsimport*fromsimple_tensor.transfer_learning.inception_v4import*This package contains a library of tensorflow implementation of Inception-v4 for image classification. Densenet, Resnet, and VGG will be added in the future version. For more detail documentations about transfer learning package, visitthis page(img source:link)Object Detector Packageimporttensorflowastffromsimple_tensor.object_detector.detector_utilsimport*fromsimple_tensor.object_detector.yoloimportYoloThis package contains a library of tensorflow implementation of Yolov3 (training and inferencing). You can customize your yolo detector with four types of network ("big", 'medium", "small", "very_small"). For more detail documentations about object detector package (yolov3), visitthis page.(img source: pjreddie)Unet Segmentation Packageimporttensorflowastffromsimple_tensor.segmentation.unetimportUNetThis package contains the tensorflow implementation of U-net for semantic segmentation. For more detail, visitthis page(img source: internal)Face Recognition Package (Insightface)importtensorflowastffromsimple_tensor.face_recog.insight_faceimport*This package contains the tensorflow implementation of insight face. This repo is refractoringthis github link. For more detail documentation, visitthis pageLSTM Packagestillonprogress....Convert Keras Model to Tensorflow Servingimporttensorflowastffromsimple_tensor.convertimport*DOCKERWe already prepared the all in one docker for computer vision and deep learning libraries, including tensorflow 1.12, Opencv3.4.2 and contrib, CUDA 9, CUDNN 7, Keras, jupyter, numpy, sklearn, scipy, statsmodel, pandas, matplotlib, seaborn, flask, gunicorn etc. See the list of dockerfile below:Docker: Ubuntu 16.04 with GPU (Cuda 9, cudnn 7.2) [TESTED]https://github.com/fatchur/Opencv-contribt-Tensorflow-GPU-DS-Tools-Docker/tree/master/docker-16.04Docker: Ubuntu 18.04 with GPU (Cuda 9, cudnn 7.2)https://github.com/fatchur/Opencv-contribt-Tensorflow-GPU-DS-Tools-Docker/tree/master/docker-18.04Docker: Ubuntu 16.04 without GPU (Cuda 9, cudnn 7.2) [TESTED]https://github.com/fatchur/Opencv-contribt-Tensorflow-GPU-DS-Tools-Docker/tree/without_gpu/docker-16.04Docker: Ubuntu 18.04 without GPU (Cuda 9, cudnn 7.2) [TESTED]https://github.com/fatchur/Opencv-contribt-Tensorflow-GPU-DS-Tools-Docker/tree/without_gpu/docker-18.04