SlideShare a Scribd company logo
1 of 18
Download to read offline
Bracco Filippo <filippo.bracco@mail.polimi.it>
Di Vece Chiara <chiara.divece@mail.polimi.it>
Massari Tommaso <tommaso.massari@mail.polimi.it>
–Giovanni Mela
“Inserisci qui una citazione”.
BIE-PInCS
Brain Injury Evaluation through Pupillometry
based on INfrared Camera System
ImplementationSeminar Room @DEIB
Politecnico di Milano
21st June 2017
2
Algorithm overview
Load OpenCV image
2
Algorithm overview
Load OpenCV image
Find ROI eyes
2
Algorithm overview
Load OpenCV image
Find ROI eyes
Equalize histogram
2
Algorithm overview
Load OpenCV image
Find ROI eyes
Equalize histogram
Morphological transformation
Threshold filter
2
Algorithm overview
Load OpenCV image
Find ROI eyes
Equalize histogram
Morphological transformation
Classification of contours
Threshold filter
2
Algorithm overview
Load OpenCV image
Find ROI eyes
Equalize histogram
Morphological transformation
Classification of contours
Approximation with circle
Threshold filter
3
Our purpose
Synthesizable
Block
Load OpenCV image
Find ROI eyes
Equalize histogram
Morphological transformation
Classification of contours
Approximation with circle
Threshold filter
4
Design flow
• AXI Stream Interface
• HLS video library 

function
• Image filtering
• Latency: 15872 cycles
• Integration IP in Pynq

design
• DMA to transfer data
from/to PL
• Export overlay
• Load overlay on PL
• Use HW in a Python
application on Jupyter
• Create joined SW/HW
application
5
IP
TH
• Threshold and imageINPUTS
COMPUTATION

(hls video library)
• Convert color and histogram
• Equalize the image
• Threshold filter
• Morphological transformation
• Calculated imageOUTPUT
DMA
6
Design
Processing
system
Programmable
logic
IP
AXIStream
AXIStream
• DMA manages communication PS/PL
• Use DMA class (from Pynq drivers)
• HW wrapped in a software function
• 2 buffers for data transfer
7
Design Reuse
• IP useful for any application for pupil or gaze tracking
• Calls to HW with an python interface
• Low resource usage:
Percentageofutilisation
0%
3%
6%
9%
12%
15%
BRAM_18K DSP48E FF LUT
8
Results
Mean time for ROI
analysis
time(ms)
0,0
0,4
0,8
1,2
1,17
0,37
HW
SW
8
Results
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
8
Results
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
Mean time per
frame
time(ms)
0
0,8
1,6
2,4
3,2
3,07
1,88
8
Results
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
Mean time per
frame
time(ms)
0
0,8
1,6
2,4
3,2
3,07
1,88
image analysed
unit of time
Performance indicator:
= 97
8
Results
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
Mean time for ROI
analysis
+ overhead
time(ms)
0,0
0,4
0,8
1,2
1,17
0,77 HW
SW
Mean time per
frame
time(ms)
0
0,8
1,6
2,4
3,2
3,07
1,88
image analysed
unit of time
Performance indicator:
= 114
Thanks for your
attention
Feel free to contact us:
<tommaso.massari@mail.polimi.it>
<chiara.divece@mail.polimi.it>
<filippo.bracco@mail.polimi.it>
<biepincs@gmail.com> https://www.facebook.com/BIEPInCSatNECST
https://twitter.com/BIEPInCSatNECST
https://www.slideshare.net/BIEPInCS

More Related Content

Recently uploaded

Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Netaji Nagar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 

Featured

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

BIE-PInCS implementation

  • 1. Bracco Filippo <filippo.bracco@mail.polimi.it> Di Vece Chiara <chiara.divece@mail.polimi.it> Massari Tommaso <tommaso.massari@mail.polimi.it> –Giovanni Mela “Inserisci qui una citazione”. BIE-PInCS Brain Injury Evaluation through Pupillometry based on INfrared Camera System ImplementationSeminar Room @DEIB Politecnico di Milano 21st June 2017
  • 3. 2 Algorithm overview Load OpenCV image Find ROI eyes
  • 4. 2 Algorithm overview Load OpenCV image Find ROI eyes Equalize histogram
  • 5. 2 Algorithm overview Load OpenCV image Find ROI eyes Equalize histogram Morphological transformation Threshold filter
  • 6. 2 Algorithm overview Load OpenCV image Find ROI eyes Equalize histogram Morphological transformation Classification of contours Threshold filter
  • 7. 2 Algorithm overview Load OpenCV image Find ROI eyes Equalize histogram Morphological transformation Classification of contours Approximation with circle Threshold filter
  • 8. 3 Our purpose Synthesizable Block Load OpenCV image Find ROI eyes Equalize histogram Morphological transformation Classification of contours Approximation with circle Threshold filter
  • 9. 4 Design flow • AXI Stream Interface • HLS video library 
 function • Image filtering • Latency: 15872 cycles • Integration IP in Pynq
 design • DMA to transfer data from/to PL • Export overlay • Load overlay on PL • Use HW in a Python application on Jupyter • Create joined SW/HW application
  • 10. 5 IP TH • Threshold and imageINPUTS COMPUTATION
 (hls video library) • Convert color and histogram • Equalize the image • Threshold filter • Morphological transformation • Calculated imageOUTPUT
  • 11. DMA 6 Design Processing system Programmable logic IP AXIStream AXIStream • DMA manages communication PS/PL • Use DMA class (from Pynq drivers) • HW wrapped in a software function • 2 buffers for data transfer
  • 12. 7 Design Reuse • IP useful for any application for pupil or gaze tracking • Calls to HW with an python interface • Low resource usage: Percentageofutilisation 0% 3% 6% 9% 12% 15% BRAM_18K DSP48E FF LUT
  • 13. 8 Results Mean time for ROI analysis time(ms) 0,0 0,4 0,8 1,2 1,17 0,37 HW SW
  • 14. 8 Results Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW
  • 15. 8 Results Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW Mean time per frame time(ms) 0 0,8 1,6 2,4 3,2 3,07 1,88
  • 16. 8 Results Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW Mean time per frame time(ms) 0 0,8 1,6 2,4 3,2 3,07 1,88 image analysed unit of time Performance indicator: = 97
  • 17. 8 Results Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW Mean time for ROI analysis + overhead time(ms) 0,0 0,4 0,8 1,2 1,17 0,77 HW SW Mean time per frame time(ms) 0 0,8 1,6 2,4 3,2 3,07 1,88 image analysed unit of time Performance indicator: = 114
  • 18. Thanks for your attention Feel free to contact us: <tommaso.massari@mail.polimi.it> <chiara.divece@mail.polimi.it> <filippo.bracco@mail.polimi.it> <biepincs@gmail.com> https://www.facebook.com/BIEPInCSatNECST https://twitter.com/BIEPInCSatNECST https://www.slideshare.net/BIEPInCS