SlideShare a Scribd company logo
1 of 1
Download to read offline
Abstract
This poster represents active research topic in human
computer interaction (HCI) as automatic hand finger counting using
deep Convolutional Neural Network (CNN). To accelerate projected
algorithmic program, leverage CUDA 8.0 platform from the NVidia
GPU. Hand finger counting and recognition deals with real time
application, that leads us optimize algorithm with maximum number
of images for CNN training. Projected methodology implemented in
C, CUDA. Algorithmic program is complicated a part of feature
extraction boosted up using multi-threaded CUDA calls. Application
of this algorithm is proposed for autonomous fire-fighting robot
which has on-board camera and embedded GPU processor.
Testing accuracy is measured with known and unknown image
dataset, typical testing accuracy achieved 98% for unknown finger
counting. A CUDA GPU (GT820M) performance improvement of
40x over the single core Intel processor.
Introduction
The goal of this project is to develop a program implementing
automatic hand finger counting using deep convolutional neural
networks (CNN). Application of this algorithm to drive the robot or
fire-fighting robot movement based on hand finger counts. Camera
will capture the photographs within the range of 2meter with 25fps
with image size of 1024x1024, 8bit. Every finger count appointed
desired movement of robot like 1-Forward, 2-Right, 3-Left, 4-
Reverse and 5-Stop. Algorithmic project has to train all the images
with different background, color, shape of hand fingers and
meaningful features to classify the finger count accurately.
In order to lighten the project, it has been decided that the
identification would consist in counting the number of fingers that
are shown by the user in the input picture.
Database
1. Color, Image size 1024x1024, On board Camera or Live camera
capture
2. Total images – 5000 i.e. 1000 images Per Hand finger one, two, three,
four, five etc
3. Different background image database to improve the accuracy 250
per hand fingers i.e. 1250 images
Database And Results Analysis
CUDA Approach
1. On board camera capture video – process frame by frame image
2. Extract features from the image using various segmentation techniques
implemented in MATLAB, CUDA 8.0. Output features then written to a text
file.
3. Use the matrix obtained in step 2 to train the deep convolutional neural
network on GPU.
4. Once the network is trained, we test it on GPU.
5. GPU implementation :-
a. Load the test image into GPU global memory
b. Process it as in step 2, output will be matrix of size (1048576 x1).
c. Pad the matrix with 0's - output will be a matrix of size (1048576 x16)
- Inputs matrix.
d. This is all done on the GPU. Now pass the neural network weights
matrix, to the GPU.
e. Multiply neuralnetwork_weights matrix by Inputs matrix - which
will give a 16 x 16 matrix. Extract the first five values from it. The
index of the value which has maximum value + 1 gives us the count.
GPU Performance Results
References
[1] Malima, A.; Ozgur,E.; Cetin,M.; [2006] “A Fast Algorithm for Vision-Based
Hand Gesture Recognition for Robot Control”, Signal Processing and
Communications Applications, IEEE
[2] A Neural Network on GPU,
http://www.codeproject.com/KB/graphics/GPUNN.aspx
[3] NVIDIA Corporation, Compute Unified Device Architecture (CUDA),
http://developer.nvidia.com/object/cuda.html.
[4] Accelerating Protein Sequences and classification using GPU-HMMER search
GTC 2016 http://on-
demand.gputechconf.com/gtc/2016/posters/GTC_2016_Computational_Biology_C
B_02_P6218_WEB.pdf
Hand Finger Counting using Deep Convolutional Neural Network (CNN) on GPU
Mahesh Khadtare1, Dr. G. K. Kharate2
1 – Research Student, Pune, IN; 2 – MCERC, Nashik, IN
Flow CPU GPU 525M Speedup
(ms) (ms)
Preprocessing 69 1.12 61.60
Feature Extraction 58 2.13 27.23
Neural Network
Training 192 13.01 14.61
Neural Network
Testing 50 3 16.66
Total 369 19.25 19.16
Preprocessing Feature Extraction Pattern recognition
Pattern recognition
Image from
camera
Output
( Finger
Count )
Training File
Preprocessing Feature Extraction
Image from
camera
(a) Training Phase
(b) Testing Phase
CPU / GPU Core
Details
Time(sec) Speedup
Dual Core CPU 1 10.00 1x
Fx1800 64 4.6 2.17x
GeForce GT 820M 96 1.1 9.09x
Tesla GeForce GTX 275 192 0.23 40.33x
Fermi S2050 (Multi GPU) 4x448 0.12 83.3x
0
1
2
3
4
5
6
7
8
9
10
DUAL CORE CPU
FX1800
GEFORCE GT 525M
FERMI
S2050
10
4.6
1.1
0.1
GESTURE RECOGNITION GPU PERFORMANCE
Read Image and inputs
Copy Image to GPU
Non-maximum 2D, Copy scale data to
GPU and 3x3 local max
Thresholding and final scales
Device Image
Finding maximum in all scales
Filtering each scales
C
P
U
G
P
U
Calculate the filter coefficients
Device Coefficients
2D convolution (32x8)
Finding Maximum in all scales
Scale and 2D Max filtering
Finding thresholding in all scales

More Related Content

Similar to Hand Finger Counting using Deep Convolutional Neural Network (CNN) on GPU

Image Processing Application on Graphics processors
Image Processing Application on Graphics processorsImage Processing Application on Graphics processors
Image Processing Application on Graphics processorsCSCJournals
 
IRJET- Convenience Improvement for Graphical Interface using Gesture Dete...
IRJET-  	  Convenience Improvement for Graphical Interface using Gesture Dete...IRJET-  	  Convenience Improvement for Graphical Interface using Gesture Dete...
IRJET- Convenience Improvement for Graphical Interface using Gesture Dete...IRJET Journal
 
IRJET- Intrusion Detection through Image Processing and Getting Notified ...
IRJET-  	  Intrusion Detection through Image Processing and Getting Notified ...IRJET-  	  Intrusion Detection through Image Processing and Getting Notified ...
IRJET- Intrusion Detection through Image Processing and Getting Notified ...IRJET Journal
 
IRJET - Hand Gesture Recognition to Perform System Operations
IRJET -  	  Hand Gesture Recognition to Perform System OperationsIRJET -  	  Hand Gesture Recognition to Perform System Operations
IRJET - Hand Gesture Recognition to Perform System OperationsIRJET Journal
 
IRJET - An Embedded Approach for Design and Development of the Mini CNC C...
IRJET -  	  An Embedded Approach for Design and Development of the Mini CNC C...IRJET -  	  An Embedded Approach for Design and Development of the Mini CNC C...
IRJET - An Embedded Approach for Design and Development of the Mini CNC C...IRJET Journal
 
Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...
Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...
Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...Panth Shah
 
20594-39025-1-PB.pdf
20594-39025-1-PB.pdf20594-39025-1-PB.pdf
20594-39025-1-PB.pdfIjictTeam
 
Object and Currency Detection for the Visually Impaired
Object and Currency Detection for the Visually ImpairedObject and Currency Detection for the Visually Impaired
Object and Currency Detection for the Visually ImpairedIRJET Journal
 
Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...journalBEEI
 
Multimodel Operation for Visually1.docx
Multimodel Operation for Visually1.docxMultimodel Operation for Visually1.docx
Multimodel Operation for Visually1.docxAROCKIAJAYAIECW
 
Real Time Head & Hand Tracking Using 2.5D Data
Real Time Head & Hand Tracking Using 2.5D Data Real Time Head & Hand Tracking Using 2.5D Data
Real Time Head & Hand Tracking Using 2.5D Data Harin Veera
 
Indoor 3 d video monitoring using multiple kinect depth cameras
Indoor 3 d video monitoring using multiple kinect depth camerasIndoor 3 d video monitoring using multiple kinect depth cameras
Indoor 3 d video monitoring using multiple kinect depth camerasijma
 
Indoor 3D Video Monitoring Using Multiple Kinect Depth-Cameras
Indoor 3D Video Monitoring Using Multiple Kinect Depth-CamerasIndoor 3D Video Monitoring Using Multiple Kinect Depth-Cameras
Indoor 3D Video Monitoring Using Multiple Kinect Depth-Camerasijma
 
Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Schuyler Kennedy
 
virtual mouse using hand gesture.pptx
virtual mouse using hand gesture.pptxvirtual mouse using hand gesture.pptx
virtual mouse using hand gesture.pptxsivaeswarreddy
 
MOUSE SIMULATION USING NON MAXIMUM SUPPRESSION
MOUSE SIMULATION USING NON MAXIMUM SUPPRESSIONMOUSE SIMULATION USING NON MAXIMUM SUPPRESSION
MOUSE SIMULATION USING NON MAXIMUM SUPPRESSIONIRJET Journal
 
IRJET- 3D Object Recognition of Car Image Detection
IRJET-  	  3D Object Recognition of Car Image DetectionIRJET-  	  3D Object Recognition of Car Image Detection
IRJET- 3D Object Recognition of Car Image DetectionIRJET Journal
 
Development of portable automatic number plate recognition (ANPR) system on R...
Development of portable automatic number plate recognition (ANPR) system on R...Development of portable automatic number plate recognition (ANPR) system on R...
Development of portable automatic number plate recognition (ANPR) system on R...IJECEIAES
 

Similar to Hand Finger Counting using Deep Convolutional Neural Network (CNN) on GPU (20)

CNC Plotter Machine
CNC Plotter Machine CNC Plotter Machine
CNC Plotter Machine
 
Image Processing Application on Graphics processors
Image Processing Application on Graphics processorsImage Processing Application on Graphics processors
Image Processing Application on Graphics processors
 
IRJET- Convenience Improvement for Graphical Interface using Gesture Dete...
IRJET-  	  Convenience Improvement for Graphical Interface using Gesture Dete...IRJET-  	  Convenience Improvement for Graphical Interface using Gesture Dete...
IRJET- Convenience Improvement for Graphical Interface using Gesture Dete...
 
IRJET- Intrusion Detection through Image Processing and Getting Notified ...
IRJET-  	  Intrusion Detection through Image Processing and Getting Notified ...IRJET-  	  Intrusion Detection through Image Processing and Getting Notified ...
IRJET- Intrusion Detection through Image Processing and Getting Notified ...
 
IRJET - Hand Gesture Recognition to Perform System Operations
IRJET -  	  Hand Gesture Recognition to Perform System OperationsIRJET -  	  Hand Gesture Recognition to Perform System Operations
IRJET - Hand Gesture Recognition to Perform System Operations
 
IRJET - An Embedded Approach for Design and Development of the Mini CNC C...
IRJET -  	  An Embedded Approach for Design and Development of the Mini CNC C...IRJET -  	  An Embedded Approach for Design and Development of the Mini CNC C...
IRJET - An Embedded Approach for Design and Development of the Mini CNC C...
 
Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...
Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...
Interfacing of MATLAB with Arduino for Object Detection Algorithm Implementat...
 
20594-39025-1-PB.pdf
20594-39025-1-PB.pdf20594-39025-1-PB.pdf
20594-39025-1-PB.pdf
 
Object and Currency Detection for the Visually Impaired
Object and Currency Detection for the Visually ImpairedObject and Currency Detection for the Visually Impaired
Object and Currency Detection for the Visually Impaired
 
Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...Development of 3D convolutional neural network to recognize human activities ...
Development of 3D convolutional neural network to recognize human activities ...
 
Multimodel Operation for Visually1.docx
Multimodel Operation for Visually1.docxMultimodel Operation for Visually1.docx
Multimodel Operation for Visually1.docx
 
Real Time Head & Hand Tracking Using 2.5D Data
Real Time Head & Hand Tracking Using 2.5D Data Real Time Head & Hand Tracking Using 2.5D Data
Real Time Head & Hand Tracking Using 2.5D Data
 
Indoor 3 d video monitoring using multiple kinect depth cameras
Indoor 3 d video monitoring using multiple kinect depth camerasIndoor 3 d video monitoring using multiple kinect depth cameras
Indoor 3 d video monitoring using multiple kinect depth cameras
 
Indoor 3D Video Monitoring Using Multiple Kinect Depth-Cameras
Indoor 3D Video Monitoring Using Multiple Kinect Depth-CamerasIndoor 3D Video Monitoring Using Multiple Kinect Depth-Cameras
Indoor 3D Video Monitoring Using Multiple Kinect Depth-Cameras
 
Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16Computer-Vision_Integrating-Technology_MOB_17.06.16
Computer-Vision_Integrating-Technology_MOB_17.06.16
 
virtual mouse using hand gesture.pptx
virtual mouse using hand gesture.pptxvirtual mouse using hand gesture.pptx
virtual mouse using hand gesture.pptx
 
MOUSE SIMULATION USING NON MAXIMUM SUPPRESSION
MOUSE SIMULATION USING NON MAXIMUM SUPPRESSIONMOUSE SIMULATION USING NON MAXIMUM SUPPRESSION
MOUSE SIMULATION USING NON MAXIMUM SUPPRESSION
 
IRJET- 3D Object Recognition of Car Image Detection
IRJET-  	  3D Object Recognition of Car Image DetectionIRJET-  	  3D Object Recognition of Car Image Detection
IRJET- 3D Object Recognition of Car Image Detection
 
Development of portable automatic number plate recognition (ANPR) system on R...
Development of portable automatic number plate recognition (ANPR) system on R...Development of portable automatic number plate recognition (ANPR) system on R...
Development of portable automatic number plate recognition (ANPR) system on R...
 
MAJOR PROJECT
MAJOR PROJECT MAJOR PROJECT
MAJOR PROJECT
 

Recently uploaded

(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 

Recently uploaded (20)

(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 

Hand Finger Counting using Deep Convolutional Neural Network (CNN) on GPU

  • 1. Abstract This poster represents active research topic in human computer interaction (HCI) as automatic hand finger counting using deep Convolutional Neural Network (CNN). To accelerate projected algorithmic program, leverage CUDA 8.0 platform from the NVidia GPU. Hand finger counting and recognition deals with real time application, that leads us optimize algorithm with maximum number of images for CNN training. Projected methodology implemented in C, CUDA. Algorithmic program is complicated a part of feature extraction boosted up using multi-threaded CUDA calls. Application of this algorithm is proposed for autonomous fire-fighting robot which has on-board camera and embedded GPU processor. Testing accuracy is measured with known and unknown image dataset, typical testing accuracy achieved 98% for unknown finger counting. A CUDA GPU (GT820M) performance improvement of 40x over the single core Intel processor. Introduction The goal of this project is to develop a program implementing automatic hand finger counting using deep convolutional neural networks (CNN). Application of this algorithm to drive the robot or fire-fighting robot movement based on hand finger counts. Camera will capture the photographs within the range of 2meter with 25fps with image size of 1024x1024, 8bit. Every finger count appointed desired movement of robot like 1-Forward, 2-Right, 3-Left, 4- Reverse and 5-Stop. Algorithmic project has to train all the images with different background, color, shape of hand fingers and meaningful features to classify the finger count accurately. In order to lighten the project, it has been decided that the identification would consist in counting the number of fingers that are shown by the user in the input picture. Database 1. Color, Image size 1024x1024, On board Camera or Live camera capture 2. Total images – 5000 i.e. 1000 images Per Hand finger one, two, three, four, five etc 3. Different background image database to improve the accuracy 250 per hand fingers i.e. 1250 images Database And Results Analysis CUDA Approach 1. On board camera capture video – process frame by frame image 2. Extract features from the image using various segmentation techniques implemented in MATLAB, CUDA 8.0. Output features then written to a text file. 3. Use the matrix obtained in step 2 to train the deep convolutional neural network on GPU. 4. Once the network is trained, we test it on GPU. 5. GPU implementation :- a. Load the test image into GPU global memory b. Process it as in step 2, output will be matrix of size (1048576 x1). c. Pad the matrix with 0's - output will be a matrix of size (1048576 x16) - Inputs matrix. d. This is all done on the GPU. Now pass the neural network weights matrix, to the GPU. e. Multiply neuralnetwork_weights matrix by Inputs matrix - which will give a 16 x 16 matrix. Extract the first five values from it. The index of the value which has maximum value + 1 gives us the count. GPU Performance Results References [1] Malima, A.; Ozgur,E.; Cetin,M.; [2006] “A Fast Algorithm for Vision-Based Hand Gesture Recognition for Robot Control”, Signal Processing and Communications Applications, IEEE [2] A Neural Network on GPU, http://www.codeproject.com/KB/graphics/GPUNN.aspx [3] NVIDIA Corporation, Compute Unified Device Architecture (CUDA), http://developer.nvidia.com/object/cuda.html. [4] Accelerating Protein Sequences and classification using GPU-HMMER search GTC 2016 http://on- demand.gputechconf.com/gtc/2016/posters/GTC_2016_Computational_Biology_C B_02_P6218_WEB.pdf Hand Finger Counting using Deep Convolutional Neural Network (CNN) on GPU Mahesh Khadtare1, Dr. G. K. Kharate2 1 – Research Student, Pune, IN; 2 – MCERC, Nashik, IN Flow CPU GPU 525M Speedup (ms) (ms) Preprocessing 69 1.12 61.60 Feature Extraction 58 2.13 27.23 Neural Network Training 192 13.01 14.61 Neural Network Testing 50 3 16.66 Total 369 19.25 19.16 Preprocessing Feature Extraction Pattern recognition Pattern recognition Image from camera Output ( Finger Count ) Training File Preprocessing Feature Extraction Image from camera (a) Training Phase (b) Testing Phase CPU / GPU Core Details Time(sec) Speedup Dual Core CPU 1 10.00 1x Fx1800 64 4.6 2.17x GeForce GT 820M 96 1.1 9.09x Tesla GeForce GTX 275 192 0.23 40.33x Fermi S2050 (Multi GPU) 4x448 0.12 83.3x 0 1 2 3 4 5 6 7 8 9 10 DUAL CORE CPU FX1800 GEFORCE GT 525M FERMI S2050 10 4.6 1.1 0.1 GESTURE RECOGNITION GPU PERFORMANCE Read Image and inputs Copy Image to GPU Non-maximum 2D, Copy scale data to GPU and 3x3 local max Thresholding and final scales Device Image Finding maximum in all scales Filtering each scales C P U G P U Calculate the filter coefficients Device Coefficients 2D convolution (32x8) Finding Maximum in all scales Scale and 2D Max filtering Finding thresholding in all scales