SlideShare a Scribd company logo
1 of 12
Steps to Run Jupyter Notebook
on Nimbix and Sample DL
Usecase
OpenPOWER Academia
Execution
 Below are the steps to run jupyter notebook on IBM PowerAI over
nimbix cloud
 Login to the nimbix platform https://platform.jarvice.com/
 Click on Compute and Search for IBM PowerAI in the search box
Execution
 Click on the IBM PowerAI, to get it expanded
 Click on Launch Button and select the machine type as per the
requirement.
Execution
 Click on Submit button to start the machine.
 Click on the Blue area desktop to login to the machine, it will open up a
new browser.
Execution
 Open Terminal Emulater for shell and type below command to activate
Tensorflow, you can activate any DL framework supported.
source /opt/DL/tensorflow/bin/tensorflow-activate
Execution
 Once Tensorflow activated start Jupyter notebook by typing
ipython notebook, then click on new Notebook.
Execution
 In order to persist data, Nimbix provides File Manager to store the data
even after VM shuts down, this data is available from VM root
directory under data folder
 To start File Manager, click on compute and search for File Manager,
then open up “Nimbix File Manager” icon then start it as we did for
Power AI. Once started click on Connect to open it in new browser
 Copy the data folder inside nibmix File Manager inside data folder.
OCR Tensorflow
Optical Character Recognition using Tesorflow
Exercise
Introduction
 Objective is to do a Optical Character Recognition vis Deep learning approach
using Tensorflow
 This Demo is the execution of the work done by Nicholas Smith
https://nicholastsmith.wordpress.com/2017/10/14/deep-learning-ocr-using-
tensorflow-and-python/@
https://github.com/tensorflow/models/tree/master/research/object_detection
 This program generate set of 32K OCR images as training dataset then it trains the
models based in that dataset.
 It also generates 256 Test images too for testing.
Execution Steps
 Login to nimbix platform.
 Launch PowerAI VM with minimal configuration available.
 Connect the VM via putty client with host and credential displayed on VM start in
nimbix
 This demo requires python 3.5 and Tensorflow 1.5, by default PowerAI VMs do
not provide this combination it still runs on python 2.7,we need to install setup
python 3.5 and Tensorflow 1.5 and will not use the DL framework provides by
Power AI by default
 Follow this blog to make the above environment ready
https://developer.ibm.com/code/howtos/install-tensorflow-on-power
 Once tensorflow got set up clone the repository
https://github.com/nicholastoddsmith/pythonml.git
 Code uses the font Consolas.ttf for image generation which is not provided by
default in Unix for that clone the fonts https://github.com/kakkoyun/linux.files.git
in /home/nimbix/pythonml/DeepOCR
Execution Steps
 Edit OCRGen.py with this path TF = ImageFont.truetype('linux.files/fonts/Consolas.ttf', 18)
 Create Trn and Tst directory inside /home/nimbix/pythonml/DeepOCR.
 Install below dependencies
 sudo apt-get update
 sudo apt-get install libatlas-base-dev
 pip3 install scikit-image (Will take 15-20 mins)
 pip3 install sklearn
 pip3 install TFANN
 Run python3 OCRGen.py, this will generate 32K Training Image and 256 Testing
images in Trn and Tst folders respectively.
 There is a pretrained model already created inside TFModel we can use that for
our testing
 To convert images from Tst directory execute python3 DeepOCR.py Tst/00000.png
 This is will display the converted text on console.
 Code is written with specific image dimension, we need to tweak this code to
make it generic.
Subscribe to OpenPOWER
Academia and Research Channel
https://www.youtube.com/channel/UCYLtbUp0AH
0ZAv5mNut1Kcg

More Related Content

What's hot

Aidan finn vmm 2008 r2 - minasi forum 2010
Aidan finn   vmm 2008 r2 - minasi forum 2010Aidan finn   vmm 2008 r2 - minasi forum 2010
Aidan finn vmm 2008 r2 - minasi forum 2010
Nathan Winters
 

What's hot (20)

Instruction to build Apache CloudStack docs with Sphinx
Instruction to build Apache CloudStack docs with SphinxInstruction to build Apache CloudStack docs with Sphinx
Instruction to build Apache CloudStack docs with Sphinx
 
eZ Publish Platform 5.4 public webinar
eZ Publish Platform 5.4 public webinareZ Publish Platform 5.4 public webinar
eZ Publish Platform 5.4 public webinar
 
Upgrade HCL Sametime server 11.0 to 11.5
Upgrade HCL Sametime server 11.0 to 11.5Upgrade HCL Sametime server 11.0 to 11.5
Upgrade HCL Sametime server 11.0 to 11.5
 
Windows & Mac OS X
Windows & Mac OS XWindows & Mac OS X
Windows & Mac OS X
 
HCL Sametime V11 - Step by Step v1.1 (include FP2)
HCL Sametime V11 - Step by Step v1.1 (include FP2)HCL Sametime V11 - Step by Step v1.1 (include FP2)
HCL Sametime V11 - Step by Step v1.1 (include FP2)
 
HCL Sametime Meetings server upgrade to V11.6
HCL Sametime Meetings server upgrade to V11.6HCL Sametime Meetings server upgrade to V11.6
HCL Sametime Meetings server upgrade to V11.6
 
Bluemix - Deploying a Java Web Application
Bluemix - Deploying a Java Web ApplicationBluemix - Deploying a Java Web Application
Bluemix - Deploying a Java Web Application
 
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
 
Building Elixir App Release with Distillery and Docker
Building Elixir App Release with Distillery and DockerBuilding Elixir App Release with Distillery and Docker
Building Elixir App Release with Distillery and Docker
 
HCL Sametime V11 installation - tips
HCL Sametime V11 installation - tipsHCL Sametime V11 installation - tips
HCL Sametime V11 installation - tips
 
HCL Sametime Meetings 11.5 Step-by-Step
HCL Sametime Meetings 11.5  Step-by-StepHCL Sametime Meetings 11.5  Step-by-Step
HCL Sametime Meetings 11.5 Step-by-Step
 
Connect to blumix docker container with putty
Connect to blumix docker container with puttyConnect to blumix docker container with putty
Connect to blumix docker container with putty
 
HCL Sametime V11 - Step by Step
HCL Sametime V11 - Step by StepHCL Sametime V11 - Step by Step
HCL Sametime V11 - Step by Step
 
Automated Deployment using Open Source
Automated Deployment using Open SourceAutomated Deployment using Open Source
Automated Deployment using Open Source
 
Webdriver.io
Webdriver.ioWebdriver.io
Webdriver.io
 
Raspberry and Pharo
Raspberry and PharoRaspberry and Pharo
Raspberry and Pharo
 
BizTalk ALM (Toon Vanhoutte @ Integration Monday)
BizTalk ALM (Toon Vanhoutte @ Integration Monday)BizTalk ALM (Toon Vanhoutte @ Integration Monday)
BizTalk ALM (Toon Vanhoutte @ Integration Monday)
 
Real World Elixir Deployment
Real World Elixir DeploymentReal World Elixir Deployment
Real World Elixir Deployment
 
Automated deployments using envoy by John Blackmore
Automated deployments using envoy by John BlackmoreAutomated deployments using envoy by John Blackmore
Automated deployments using envoy by John Blackmore
 
Aidan finn vmm 2008 r2 - minasi forum 2010
Aidan finn   vmm 2008 r2 - minasi forum 2010Aidan finn   vmm 2008 r2 - minasi forum 2010
Aidan finn vmm 2008 r2 - minasi forum 2010
 

Similar to Nimbix execution steps and sample exercise

How to automate elixir phoenix deployment with distillery and edeliver on ubu...
How to automate elixir phoenix deployment with distillery and edeliver on ubu...How to automate elixir phoenix deployment with distillery and edeliver on ubu...
How to automate elixir phoenix deployment with distillery and edeliver on ubu...
VasiliyPodnebesniy
 
Taishaun_OwnensCNS-533_Lab
Taishaun_OwnensCNS-533_LabTaishaun_OwnensCNS-533_Lab
Taishaun_OwnensCNS-533_Lab
Taishaun Owens
 
Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...
Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...
Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...
Yun Lung Li
 
Linux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck schedulerLinux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck scheduler
pcherukumalla
 

Similar to Nimbix execution steps and sample exercise (20)

Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7Krenel Based Virtual Machine In Centos7
Krenel Based Virtual Machine In Centos7
 
Learn Puppet : Quest Guide for the Learning VM
Learn Puppet : Quest Guide for the Learning VMLearn Puppet : Quest Guide for the Learning VM
Learn Puppet : Quest Guide for the Learning VM
 
MDT Step public
MDT Step publicMDT Step public
MDT Step public
 
How to automate elixir phoenix deployment with distillery and edeliver on ubu...
How to automate elixir phoenix deployment with distillery and edeliver on ubu...How to automate elixir phoenix deployment with distillery and edeliver on ubu...
How to automate elixir phoenix deployment with distillery and edeliver on ubu...
 
Tizen Studio Installation&Setup
Tizen Studio Installation&SetupTizen Studio Installation&Setup
Tizen Studio Installation&Setup
 
Blockchain Hyperledger Lab
Blockchain Hyperledger LabBlockchain Hyperledger Lab
Blockchain Hyperledger Lab
 
A Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy SystemA Fabric/Puppet Build/Deploy System
A Fabric/Puppet Build/Deploy System
 
Setting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntuSetting up the hyperledger composer in ubuntu
Setting up the hyperledger composer in ubuntu
 
Magento Meetup New Delhi- Console
Magento Meetup New Delhi- ConsoleMagento Meetup New Delhi- Console
Magento Meetup New Delhi- Console
 
Taishaun_OwnensCNS-533_Lab
Taishaun_OwnensCNS-533_LabTaishaun_OwnensCNS-533_Lab
Taishaun_OwnensCNS-533_Lab
 
Deploying your app.pptx
Deploying your app.pptxDeploying your app.pptx
Deploying your app.pptx
 
Apache Flink Crash Course by Slim Baltagi and Srini Palthepu
Apache Flink Crash Course by Slim Baltagi and Srini PalthepuApache Flink Crash Course by Slim Baltagi and Srini Palthepu
Apache Flink Crash Course by Slim Baltagi and Srini Palthepu
 
Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...
Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...
Apache flink-crash-course-by-slim-baltagi-and-srini-palthepu-150817191850-lva...
 
boot from lan
boot from lanboot from lan
boot from lan
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
Extracting twitter data using apache flume
Extracting twitter data using apache flumeExtracting twitter data using apache flume
Extracting twitter data using apache flume
 
Its3 Drupal
Its3 DrupalIts3 Drupal
Its3 Drupal
 
Linux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck schedulerLinux VMWare image with Informatica , Oracle and Rundeck scheduler
Linux VMWare image with Informatica , Oracle and Rundeck scheduler
 
Setting up your virtual infrastructure using fi-lab cloud
Setting up your virtual infrastructure using fi-lab cloudSetting up your virtual infrastructure using fi-lab cloud
Setting up your virtual infrastructure using fi-lab cloud
 
Continuous Integration with Hackintosh
Continuous Integration with HackintoshContinuous Integration with Hackintosh
Continuous Integration with Hackintosh
 

More from Ganesan Narayanasamy

180 nm Tape out experience using Open POWER ISA
180 nm Tape out experience using Open POWER ISA180 nm Tape out experience using Open POWER ISA
180 nm Tape out experience using Open POWER ISA
Ganesan Narayanasamy
 

More from Ganesan Narayanasamy (20)

Chip Design Curriculum development Residency program
Chip Design Curriculum development Residency programChip Design Curriculum development Residency program
Chip Design Curriculum development Residency program
 
Basics of Digital Design and Verilog
Basics of Digital Design and VerilogBasics of Digital Design and Verilog
Basics of Digital Design and Verilog
 
180 nm Tape out experience using Open POWER ISA
180 nm Tape out experience using Open POWER ISA180 nm Tape out experience using Open POWER ISA
180 nm Tape out experience using Open POWER ISA
 
Workload Transformation and Innovations in POWER Architecture
Workload Transformation and Innovations in POWER Architecture Workload Transformation and Innovations in POWER Architecture
Workload Transformation and Innovations in POWER Architecture
 
OpenPOWER Workshop at IIT Roorkee
OpenPOWER Workshop at IIT RoorkeeOpenPOWER Workshop at IIT Roorkee
OpenPOWER Workshop at IIT Roorkee
 
Deep Learning Use Cases using OpenPOWER systems
Deep Learning Use Cases using OpenPOWER systemsDeep Learning Use Cases using OpenPOWER systems
Deep Learning Use Cases using OpenPOWER systems
 
IBM BOA for POWER
IBM BOA for POWER IBM BOA for POWER
IBM BOA for POWER
 
OpenPOWER System Marconi100
OpenPOWER System Marconi100OpenPOWER System Marconi100
OpenPOWER System Marconi100
 
OpenPOWER Latest Updates
OpenPOWER Latest UpdatesOpenPOWER Latest Updates
OpenPOWER Latest Updates
 
POWER10 innovations for HPC
POWER10 innovations for HPCPOWER10 innovations for HPC
POWER10 innovations for HPC
 
Deeplearningusingcloudpakfordata
DeeplearningusingcloudpakfordataDeeplearningusingcloudpakfordata
Deeplearningusingcloudpakfordata
 
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
OpenCAPI-based Image Analysis Pipeline for 18 GB/s kilohertz-framerate X-ray ...
 
AI in healthcare and Automobile Industry using OpenPOWER/IBM POWER9 systems
AI in healthcare and Automobile Industry using OpenPOWER/IBM POWER9 systemsAI in healthcare and Automobile Industry using OpenPOWER/IBM POWER9 systems
AI in healthcare and Automobile Industry using OpenPOWER/IBM POWER9 systems
 
AI in healthcare - Use Cases
AI in healthcare - Use Cases AI in healthcare - Use Cases
AI in healthcare - Use Cases
 
AI in Health Care using IBM Systems/OpenPOWER systems
AI in Health Care using IBM Systems/OpenPOWER systemsAI in Health Care using IBM Systems/OpenPOWER systems
AI in Health Care using IBM Systems/OpenPOWER systems
 
AI in Healh Care using IBM POWER systems
AI in Healh Care using IBM POWER systems AI in Healh Care using IBM POWER systems
AI in Healh Care using IBM POWER systems
 
Poster from NUS
Poster from NUSPoster from NUS
Poster from NUS
 
SAP HANA on POWER9 systems
SAP HANA on POWER9 systemsSAP HANA on POWER9 systems
SAP HANA on POWER9 systems
 
Graphical Structure Learning accelerated with POWER9
Graphical Structure Learning accelerated with POWER9Graphical Structure Learning accelerated with POWER9
Graphical Structure Learning accelerated with POWER9
 
AI in the enterprise
AI in the enterprise AI in the enterprise
AI in the enterprise
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
API Governance and Monetization - The evolution of API governance
API Governance and Monetization -  The evolution of API governanceAPI Governance and Monetization -  The evolution of API governance
API Governance and Monetization - The evolution of API governance
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps ProductivityChatGPT and Beyond - Elevating DevOps Productivity
ChatGPT and Beyond - Elevating DevOps Productivity
 

Nimbix execution steps and sample exercise

  • 1. Steps to Run Jupyter Notebook on Nimbix and Sample DL Usecase OpenPOWER Academia
  • 2. Execution  Below are the steps to run jupyter notebook on IBM PowerAI over nimbix cloud  Login to the nimbix platform https://platform.jarvice.com/  Click on Compute and Search for IBM PowerAI in the search box
  • 3. Execution  Click on the IBM PowerAI, to get it expanded  Click on Launch Button and select the machine type as per the requirement.
  • 4. Execution  Click on Submit button to start the machine.  Click on the Blue area desktop to login to the machine, it will open up a new browser.
  • 5. Execution  Open Terminal Emulater for shell and type below command to activate Tensorflow, you can activate any DL framework supported. source /opt/DL/tensorflow/bin/tensorflow-activate
  • 6. Execution  Once Tensorflow activated start Jupyter notebook by typing ipython notebook, then click on new Notebook.
  • 7. Execution  In order to persist data, Nimbix provides File Manager to store the data even after VM shuts down, this data is available from VM root directory under data folder  To start File Manager, click on compute and search for File Manager, then open up “Nimbix File Manager” icon then start it as we did for Power AI. Once started click on Connect to open it in new browser  Copy the data folder inside nibmix File Manager inside data folder.
  • 8. OCR Tensorflow Optical Character Recognition using Tesorflow Exercise
  • 9. Introduction  Objective is to do a Optical Character Recognition vis Deep learning approach using Tensorflow  This Demo is the execution of the work done by Nicholas Smith https://nicholastsmith.wordpress.com/2017/10/14/deep-learning-ocr-using- tensorflow-and-python/@ https://github.com/tensorflow/models/tree/master/research/object_detection  This program generate set of 32K OCR images as training dataset then it trains the models based in that dataset.  It also generates 256 Test images too for testing.
  • 10. Execution Steps  Login to nimbix platform.  Launch PowerAI VM with minimal configuration available.  Connect the VM via putty client with host and credential displayed on VM start in nimbix  This demo requires python 3.5 and Tensorflow 1.5, by default PowerAI VMs do not provide this combination it still runs on python 2.7,we need to install setup python 3.5 and Tensorflow 1.5 and will not use the DL framework provides by Power AI by default  Follow this blog to make the above environment ready https://developer.ibm.com/code/howtos/install-tensorflow-on-power  Once tensorflow got set up clone the repository https://github.com/nicholastoddsmith/pythonml.git  Code uses the font Consolas.ttf for image generation which is not provided by default in Unix for that clone the fonts https://github.com/kakkoyun/linux.files.git in /home/nimbix/pythonml/DeepOCR
  • 11. Execution Steps  Edit OCRGen.py with this path TF = ImageFont.truetype('linux.files/fonts/Consolas.ttf', 18)  Create Trn and Tst directory inside /home/nimbix/pythonml/DeepOCR.  Install below dependencies  sudo apt-get update  sudo apt-get install libatlas-base-dev  pip3 install scikit-image (Will take 15-20 mins)  pip3 install sklearn  pip3 install TFANN  Run python3 OCRGen.py, this will generate 32K Training Image and 256 Testing images in Trn and Tst folders respectively.  There is a pretrained model already created inside TFModel we can use that for our testing  To convert images from Tst directory execute python3 DeepOCR.py Tst/00000.png  This is will display the converted text on console.  Code is written with specific image dimension, we need to tweak this code to make it generic.
  • 12. Subscribe to OpenPOWER Academia and Research Channel https://www.youtube.com/channel/UCYLtbUp0AH 0ZAv5mNut1Kcg