SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
© 2019 CEVA Inc.
Deploying Visual SLAM into
Low-Power Devices
Ben Weiss
CEVA Inc.
May 2019
© 2019 CEVA Inc.
Agenda
In this talk, we’ll be discussing:
• Visual SLAM Introduction
• Real-time implementation challenges
• How to overcome these challenges using the CEVA-SLAM SDK powered
by CEVA-XM vision DSP and NeuPro AI Processor
2
© 2019 CEVA Inc.
CEVA Intro: Signal Processing and AI Silicon IP
3
We innovate and license technologies to
connect sensors and process data on devices
Powered
by
Audio DSPs and voice
software for any
voice-enabled device
Imaging
Computer vision
Deep learning
Wi-Fi: 802.11n/ac/ax: AP &
client
Bluetooth 5: dual mode & BLE
Handsets
Base Stations
IoT
AI Processors scaling
from IoT to Automotive
© 2019 CEVA Inc.
Introduction
© 2019 CEVA Inc.
Why Do We Need SLAM?
• AR/VR, indoor navigation require
accurate device positioning and
orientation
• GPS and Inertial Measurement
Units (IMUs) cannot meet this
requirement
• For real immersive AR
experiences or truly autonomous
devices, we need something else:
SLAM is the solution
5
Introduction
© 2019 CEVA Inc.
What Is SLAM?
Simultaneous Localization
and Mapping
It’s a process of determining the
position and orientation of a
sensor with respect to its
surroundings, while simultaneously
mapping the environment around
that sensor
6
Introduction
© 2019 CEVA Inc.
SLAM Productization Challenges
• Leading SLAM solutions designed for CPUs
• SLAM processing imposes high computational load
• Leads to high power consumption and low frame rates
7
High Power
Consumption
Battery
drain
Short user
experience
Low Frame
Rate
Less
accurate
Poor user
experience
Solution - offload the main CPU to an efficient DSP!
© 2019 CEVA Inc.
Feature-based Visual SLAM
© 2019 CEVA Inc.
Short Overview
Tracking - Camera motion estimations
• Real-time restrictions, high FPS, mostly fixed-point
Mapping - Estimates 3D positions of feature points
• Semi real-time, mostly floating-point
Loop Closure - Global camera trajectory optimization
• Extremely high computation load, mostly floating-point
9
Feature-based Visual SLAM
© 2019 CEVA Inc.
Building Blocks
SLAM modules share similar operative building blocks, such as:
Image Processing
• Image pyramid
• Feature detection (FAST9, DoG)
• Feature descriptor (ORB, FREAK)
• Descriptor matching
• Dominant data type: 8-bit fixed-point
10
Feature-based Visual SLAM
© 2019 CEVA Inc.
Building Blocks
Math Operation
• Linear algebra,
matrix manipulation
• Linear equation solving
• Dominant data type:
floating-point
11
Feature-based Visual SLAM
© 2019 CEVA Inc.
Computer Vision DSP
Advantages and Challenges
© 2019 CEVA Inc.
Advantages
• Strong ALU
• Powerful MAC capabilities
• Powerful floating-point capabilities
• High throughput memory access
• Dedicated vision instructions
• Efficient and low power consumption
13
Computer Vision DSP Advantages and Challenges
Very fast and efficient processing
© 2019 CEVA Inc.
Challenges
Typical SLAM building blocks processing challenges:
• Small patch processing, like FREAK descriptors
• Non-consecutive memory accesses
• Sparse matrix manipulation
14
Computer Vision DSP Advantages and Challenges
© 2019 CEVA Inc.
Challenges
• Efficient processing can’t rely on a data cache
• Using local data memory more efficient
• Zero-delay memory access
• Fine-tuned data pre-fetching is critical (via double buffer)
• But, limited local memory also leads to
• Image partitioning (tiling)
• DMA configuration and monitoring
• Processing overhead
• DDR traffic increase
15
Computer Vision DSP Advantages and Challenges
© 2019 CEVA Inc.
Challenges
Processing modules should integrate with existing applications:
• Memory sharing with main CPU, usually uses virtual memory
• Data collection, packing, transferring
• Control, synchronization, monitoring between CPU and DSP
16
Computer Vision DSP Advantages and Challenges
© 2019 CEVA Inc.
Challenges - Summary
Summary
• Efficient processing - not trivial
• Integration with application – requires specific handling
So, how can we harness the advantages of a Vision DSP ?
We need a software framework to overcome those challenges.
Let’s see how this can be done
17
Computer Vision DSP Advantages and Challenges
© 2019 CEVA Inc.
CEVA-SLAM SDK
© 2019 CEVA Inc.
SLAM Framework
SLAM acceleration framework requires:
19
Computer Vision DSP Advantages and Challenges
Powerful
Hardware
Efficient
Software
Easy
Integration
CEVA-SLAM SDK
optimized for
CEVA-XM Vision DSPs
& NeuPro AI
Processors
© 2019 CEVA Inc.
Embedded SLAM Acceleration
Powerful Vision DSP
• CEVA-XM processor family
• 128 16-bit MAC/cycle
• 32 floating-point operations/cycle
• 512-bit memory access/cycle
• Flexible random memory access
32 addresses/cycle
• Flexible image DMA
• Dedicated vision instruction set
20
CEVA-SLAM SDK
© 2019 CEVA Inc.
Optimized Embedded Algorithms
• Image pyramid
• Feature detection
• Feature descriptor
• Feature matching (projection, grid search)
• Linear equation solving
• Matrix manipulation
21
CEVA-SLAM SDK
© 2019 CEVA Inc.
Optimized Embedded Algorithms – cont.
Feature matching:
1. Transform points
2. Select relevant candidates
3. Calculate matching score (Hamming distance)
4. Select best match
Typically comparing 200 features vs. 2,000 candidate matches
requires 400,000 match operations!
22
CEVA-SLAM SDK
© 2019 CEVA Inc.
Optimized Embedded Algorithms – cont.
That’s a very intensive process, what can be done?
1. Focus on relevant data:
Simple solution requires much redundant processing and data traffic to
DDR. Taking only relevant data for each candidate reduces cost by 8-
10x.
Smart data pre-fetch selects, fetches
only relevant candidates for each descriptor
2. Accelerate processing using DSP’s SIMD capabilities
23
CEVA-SLAM SDK
© 2019 CEVA Inc.
Optimized Embedded Algorithms – cont.
Now, let’s take a deeper look at Hamming distance calculation.
Processing composed of Hamming distance calculation and
control/management code (candidate selection, sorting, etc)
CEVA-XM6 efficient Hamming distance calculation instruction – calculates
256-bit hamming value in half cycle
24
CEVA-SLAM SDK
Vector processing
Result management
Time
Hamming
Result management
Time
© 2019 CEVA Inc.
Optimized Embedded Algorithms – cont.
Powerful vector capabilities not utilized:
Solution:
Extend vector processing period – process multiple descriptors in parallel
Process 16 or 32 descriptor candidates same time!
25
CEVA-SLAM SDK
Vector processing
Result management
Time
Vector processing
Result management
Time
© 2019 CEVA Inc.
Optimized Embedded Algorithms – cont.
Now have efficient parallel value processing.
But, how to access multiple descriptors located in random
locations in parallel?
CEVA-XM6 includes unique load/store mechanism to
parallel access 32 different addresses in single cycle
Makes it possible
26
CEVA-SLAM SDK
1
2
3
4
5
b0b1b2b3b4b5b6b7Vector Register
Scattered
Features
© 2019 CEVA Inc.
Optimized Embedded Algorithms
Tracking performance example:
60 frames/sec consume only
86 mW, utilizing only a fraction of
DSP processing
Image Pyramid 8 levels, 1.2 scale ratio
FAST9
8 levels, NMS, about 1,100
Key points
ORB Extraction 200 features
ORB Matching
Radios search, 200 vs 2,000
candidates
27
Frame size: 1280x720, DSP: CEVA-XM6, TSMC 16nm
CEVA-SLAM SDK
© 2019 CEVA Inc.
Integration Framework
Integration framework
• Easy integration API, based on common APIs
• CPU/DSP communication framework
• Synchronization and monitoring
• Task scheduling
• Data collecting, packing, and transferring
28
CEVA-SLAM SDK
All tuned to work together
CPU
SLAM Blocks
Tracking Mapping Loop
Closure
SLAM Interface
DSP
SLAM Blocks
SLAM Manager
Provided
by CEVA
© 2019 CEVA Inc.
Summary
• Powerful and efficient hardware
• Optimized and mature software functions
• Easy to integrate framework – short time to market
For more information, welcome at CEVA’s booth
29
CEVA-SLAM SDK
© 2019 CEVA Inc.
Resources
30
General
Visual SLAM algorithms: a survey from 2010 to
2016
https://ipsjcva.springeropen.com/articles/1
0.1186/s41074-017-0027-2
CEVA Materials
CEVA SLAM & ADK Overview
https://www.ceva-
dsp.com/product/application-developer-kit/
© 2019 CEVA Inc.
Thank You.
Any Questions?

Weitere ähnliche Inhalte

Mehr von Edge AI and Vision Alliance

“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...Edge AI and Vision Alliance
 
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...Edge AI and Vision Alliance
 
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...Edge AI and Vision Alliance
 
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...Edge AI and Vision Alliance
 
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...Edge AI and Vision Alliance
 
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...Edge AI and Vision Alliance
 
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...Edge AI and Vision Alliance
 
“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from SamsaraEdge AI and Vision Alliance
 
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...Edge AI and Vision Alliance
 
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...Edge AI and Vision Alliance
 
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...Edge AI and Vision Alliance
 
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...Edge AI and Vision Alliance
 
“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...
“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...
“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...Edge AI and Vision Alliance
 
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...Edge AI and Vision Alliance
 
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...Edge AI and Vision Alliance
 
“Practical Approaches to DNN Quantization,” a Presentation from Magic Leap
“Practical Approaches to DNN Quantization,” a Presentation from Magic Leap“Practical Approaches to DNN Quantization,” a Presentation from Magic Leap
“Practical Approaches to DNN Quantization,” a Presentation from Magic LeapEdge AI and Vision Alliance
 
"Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ...
"Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ..."Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ...
"Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ...Edge AI and Vision Alliance
 
“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...
“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...
“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...Edge AI and Vision Alliance
 
“A Survey of Model Compression Methods,” a Presentation from Instrumental
“A Survey of Model Compression Methods,” a Presentation from Instrumental“A Survey of Model Compression Methods,” a Presentation from Instrumental
“A Survey of Model Compression Methods,” a Presentation from InstrumentalEdge AI and Vision Alliance
 
“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AI
“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AI“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AI
“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AIEdge AI and Vision Alliance
 

Mehr von Edge AI and Vision Alliance (20)

“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
“Computer Vision in Sports: Scalable Solutions for Downmarkets,” a Presentati...
 
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
“Detecting Data Drift in Image Classification Neural Networks,” a Presentatio...
 
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
“Deep Neural Network Training: Diagnosing Problems and Implementing Solutions...
 
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
“AI Start-ups: The Perils of Fishing for Whales (War Stories from the Entrepr...
 
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
“A Computer Vision System for Autonomous Satellite Maneuvering,” a Presentati...
 
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
“Bias in Computer Vision—It’s Bigger Than Facial Recognition!,” a Presentatio...
 
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
“Sensor Fusion Techniques for Accurate Perception of Objects in the Environme...
 
“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara“Updating the Edge ML Development Process,” a Presentation from Samsara
“Updating the Edge ML Development Process,” a Presentation from Samsara
 
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
“Combating Bias in Production Computer Vision Systems,” a Presentation from R...
 
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
“Developing an Embedded Vision AI-powered Fitness System,” a Presentation fro...
 
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
“Navigating the Evolving Venture Capital Landscape for Edge AI Start-ups,” a ...
 
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
“Advanced Presence Sensing: What It Means for the Smart Home,” a Presentation...
 
“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...
“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...
“Tracking and Fusing Diverse Risk Factors to Drive a SAFER Future,” a Present...
 
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
“MIPI CSI-2 Image Sensor Interface Standard Features Enable Efficient Embedde...
 
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
“Introduction to the CSI-2 Image Sensor Interface Standard,” a Presentation f...
 
“Practical Approaches to DNN Quantization,” a Presentation from Magic Leap
“Practical Approaches to DNN Quantization,” a Presentation from Magic Leap“Practical Approaches to DNN Quantization,” a Presentation from Magic Leap
“Practical Approaches to DNN Quantization,” a Presentation from Magic Leap
 
"Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ...
"Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ..."Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ...
"Optimizing Image Quality and Stereo Depth at the Edge," a Presentation from ...
 
“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...
“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...
“Using a Collaborative Network of Distributed Cameras for Object Tracking,” a...
 
“A Survey of Model Compression Methods,” a Presentation from Instrumental
“A Survey of Model Compression Methods,” a Presentation from Instrumental“A Survey of Model Compression Methods,” a Presentation from Instrumental
“A Survey of Model Compression Methods,” a Presentation from Instrumental
 
“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AI
“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AI“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AI
“Reinventing Smart Cities with Computer Vision,” a Presentation from Hayden AI
 

Kürzlich hochgeladen

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
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...DianaGray10
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Kürzlich hochgeladen (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
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...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

"Deploying Visual SLAM in Low-power Devices," a Presentation from CEVA

  • 1. © 2019 CEVA Inc. Deploying Visual SLAM into Low-Power Devices Ben Weiss CEVA Inc. May 2019
  • 2. © 2019 CEVA Inc. Agenda In this talk, we’ll be discussing: • Visual SLAM Introduction • Real-time implementation challenges • How to overcome these challenges using the CEVA-SLAM SDK powered by CEVA-XM vision DSP and NeuPro AI Processor 2
  • 3. © 2019 CEVA Inc. CEVA Intro: Signal Processing and AI Silicon IP 3 We innovate and license technologies to connect sensors and process data on devices Powered by Audio DSPs and voice software for any voice-enabled device Imaging Computer vision Deep learning Wi-Fi: 802.11n/ac/ax: AP & client Bluetooth 5: dual mode & BLE Handsets Base Stations IoT AI Processors scaling from IoT to Automotive
  • 4. © 2019 CEVA Inc. Introduction
  • 5. © 2019 CEVA Inc. Why Do We Need SLAM? • AR/VR, indoor navigation require accurate device positioning and orientation • GPS and Inertial Measurement Units (IMUs) cannot meet this requirement • For real immersive AR experiences or truly autonomous devices, we need something else: SLAM is the solution 5 Introduction
  • 6. © 2019 CEVA Inc. What Is SLAM? Simultaneous Localization and Mapping It’s a process of determining the position and orientation of a sensor with respect to its surroundings, while simultaneously mapping the environment around that sensor 6 Introduction
  • 7. © 2019 CEVA Inc. SLAM Productization Challenges • Leading SLAM solutions designed for CPUs • SLAM processing imposes high computational load • Leads to high power consumption and low frame rates 7 High Power Consumption Battery drain Short user experience Low Frame Rate Less accurate Poor user experience Solution - offload the main CPU to an efficient DSP!
  • 8. © 2019 CEVA Inc. Feature-based Visual SLAM
  • 9. © 2019 CEVA Inc. Short Overview Tracking - Camera motion estimations • Real-time restrictions, high FPS, mostly fixed-point Mapping - Estimates 3D positions of feature points • Semi real-time, mostly floating-point Loop Closure - Global camera trajectory optimization • Extremely high computation load, mostly floating-point 9 Feature-based Visual SLAM
  • 10. © 2019 CEVA Inc. Building Blocks SLAM modules share similar operative building blocks, such as: Image Processing • Image pyramid • Feature detection (FAST9, DoG) • Feature descriptor (ORB, FREAK) • Descriptor matching • Dominant data type: 8-bit fixed-point 10 Feature-based Visual SLAM
  • 11. © 2019 CEVA Inc. Building Blocks Math Operation • Linear algebra, matrix manipulation • Linear equation solving • Dominant data type: floating-point 11 Feature-based Visual SLAM
  • 12. © 2019 CEVA Inc. Computer Vision DSP Advantages and Challenges
  • 13. © 2019 CEVA Inc. Advantages • Strong ALU • Powerful MAC capabilities • Powerful floating-point capabilities • High throughput memory access • Dedicated vision instructions • Efficient and low power consumption 13 Computer Vision DSP Advantages and Challenges Very fast and efficient processing
  • 14. © 2019 CEVA Inc. Challenges Typical SLAM building blocks processing challenges: • Small patch processing, like FREAK descriptors • Non-consecutive memory accesses • Sparse matrix manipulation 14 Computer Vision DSP Advantages and Challenges
  • 15. © 2019 CEVA Inc. Challenges • Efficient processing can’t rely on a data cache • Using local data memory more efficient • Zero-delay memory access • Fine-tuned data pre-fetching is critical (via double buffer) • But, limited local memory also leads to • Image partitioning (tiling) • DMA configuration and monitoring • Processing overhead • DDR traffic increase 15 Computer Vision DSP Advantages and Challenges
  • 16. © 2019 CEVA Inc. Challenges Processing modules should integrate with existing applications: • Memory sharing with main CPU, usually uses virtual memory • Data collection, packing, transferring • Control, synchronization, monitoring between CPU and DSP 16 Computer Vision DSP Advantages and Challenges
  • 17. © 2019 CEVA Inc. Challenges - Summary Summary • Efficient processing - not trivial • Integration with application – requires specific handling So, how can we harness the advantages of a Vision DSP ? We need a software framework to overcome those challenges. Let’s see how this can be done 17 Computer Vision DSP Advantages and Challenges
  • 18. © 2019 CEVA Inc. CEVA-SLAM SDK
  • 19. © 2019 CEVA Inc. SLAM Framework SLAM acceleration framework requires: 19 Computer Vision DSP Advantages and Challenges Powerful Hardware Efficient Software Easy Integration CEVA-SLAM SDK optimized for CEVA-XM Vision DSPs & NeuPro AI Processors
  • 20. © 2019 CEVA Inc. Embedded SLAM Acceleration Powerful Vision DSP • CEVA-XM processor family • 128 16-bit MAC/cycle • 32 floating-point operations/cycle • 512-bit memory access/cycle • Flexible random memory access 32 addresses/cycle • Flexible image DMA • Dedicated vision instruction set 20 CEVA-SLAM SDK
  • 21. © 2019 CEVA Inc. Optimized Embedded Algorithms • Image pyramid • Feature detection • Feature descriptor • Feature matching (projection, grid search) • Linear equation solving • Matrix manipulation 21 CEVA-SLAM SDK
  • 22. © 2019 CEVA Inc. Optimized Embedded Algorithms – cont. Feature matching: 1. Transform points 2. Select relevant candidates 3. Calculate matching score (Hamming distance) 4. Select best match Typically comparing 200 features vs. 2,000 candidate matches requires 400,000 match operations! 22 CEVA-SLAM SDK
  • 23. © 2019 CEVA Inc. Optimized Embedded Algorithms – cont. That’s a very intensive process, what can be done? 1. Focus on relevant data: Simple solution requires much redundant processing and data traffic to DDR. Taking only relevant data for each candidate reduces cost by 8- 10x. Smart data pre-fetch selects, fetches only relevant candidates for each descriptor 2. Accelerate processing using DSP’s SIMD capabilities 23 CEVA-SLAM SDK
  • 24. © 2019 CEVA Inc. Optimized Embedded Algorithms – cont. Now, let’s take a deeper look at Hamming distance calculation. Processing composed of Hamming distance calculation and control/management code (candidate selection, sorting, etc) CEVA-XM6 efficient Hamming distance calculation instruction – calculates 256-bit hamming value in half cycle 24 CEVA-SLAM SDK Vector processing Result management Time Hamming Result management Time
  • 25. © 2019 CEVA Inc. Optimized Embedded Algorithms – cont. Powerful vector capabilities not utilized: Solution: Extend vector processing period – process multiple descriptors in parallel Process 16 or 32 descriptor candidates same time! 25 CEVA-SLAM SDK Vector processing Result management Time Vector processing Result management Time
  • 26. © 2019 CEVA Inc. Optimized Embedded Algorithms – cont. Now have efficient parallel value processing. But, how to access multiple descriptors located in random locations in parallel? CEVA-XM6 includes unique load/store mechanism to parallel access 32 different addresses in single cycle Makes it possible 26 CEVA-SLAM SDK 1 2 3 4 5 b0b1b2b3b4b5b6b7Vector Register Scattered Features
  • 27. © 2019 CEVA Inc. Optimized Embedded Algorithms Tracking performance example: 60 frames/sec consume only 86 mW, utilizing only a fraction of DSP processing Image Pyramid 8 levels, 1.2 scale ratio FAST9 8 levels, NMS, about 1,100 Key points ORB Extraction 200 features ORB Matching Radios search, 200 vs 2,000 candidates 27 Frame size: 1280x720, DSP: CEVA-XM6, TSMC 16nm CEVA-SLAM SDK
  • 28. © 2019 CEVA Inc. Integration Framework Integration framework • Easy integration API, based on common APIs • CPU/DSP communication framework • Synchronization and monitoring • Task scheduling • Data collecting, packing, and transferring 28 CEVA-SLAM SDK All tuned to work together CPU SLAM Blocks Tracking Mapping Loop Closure SLAM Interface DSP SLAM Blocks SLAM Manager Provided by CEVA
  • 29. © 2019 CEVA Inc. Summary • Powerful and efficient hardware • Optimized and mature software functions • Easy to integrate framework – short time to market For more information, welcome at CEVA’s booth 29 CEVA-SLAM SDK
  • 30. © 2019 CEVA Inc. Resources 30 General Visual SLAM algorithms: a survey from 2010 to 2016 https://ipsjcva.springeropen.com/articles/1 0.1186/s41074-017-0027-2 CEVA Materials CEVA SLAM & ADK Overview https://www.ceva- dsp.com/product/application-developer-kit/
  • 31. © 2019 CEVA Inc. Thank You. Any Questions?