SlideShare a Scribd company logo
© 2019 Allied Vision Technologies GmbH
Accessing Advanced Image Processing
Feature Sets with Alvium Cameras
Using a V4L2/GenICam Hybrid Driver
Sebastian Guenther
May 2019
© 2019 Allied Vision Technologies GmbH
Corporate Information
2
• Industrial and Machine Vision camera supplier since 1989
• >300 employees
• Headquarters in Germany
• Worldwide sales and distribution
© 2019 Allied Vision Technologies GmbH 3
Embedded Vision Systems
and their pain points
© 2019 Allied Vision Technologies GmbH
Typical Embedded Vision System
4
SW Framework
V4L2 interface User libs
BSPDriver
Application
Use Case
Kernel
// Image sensor
// MIPI CSI-2 interface
// Host System
// Computer on Module
© 2019 Allied Vision Technologies GmbH
Key challenges CSI-2 driver development
5
Integration efforts Expertise
Functionality and
Registers
Timing / Behavior
Image pipeline
Components
Image Sensor
Host HW
(SoC, ISP, etc.) Image processing
User interfaceCamera API
SW Framework
Algorithms /
calculations
• Sensor specific design
• Incomplete data sheets
• Redesign exchanging sensor
• Know-how of SoC
internals required
• Lack of information
• Limited ISP and its
accessibility
• Camera interface (V4L2)
might be limited and custom
controls required
• Lack of convenience for
complex devices
1
2
3
Pain points
© 2019 Allied Vision Technologies GmbH
Alvium camera series
6
Integrated on-board
image processing
Multiple housing
and mount options
Cost optimized
design
Different options of
integrated sensors
Easy hardware and
software integration
MIPI CSI-2 and USB-3
interface
Intelligent power
management
Industrial grade
1
2
© 2019 Allied Vision Technologies GmbH 7
Video for Linux interface
and GeniCam standards
© 2019 Allied Vision Technologies GmbH
V4L2 for CSI-2 cameras
8
Video for Linux
User interface exposed by controls via the kernel driver
Basic image processing functions (e.g. contrast, sharpness)
Camera controls for focus, zoom or flash
Codec support for MPEG and JPEG image compression
Complex devices (sensor + SoC ISP) handled by Media Control API
© 2019 Allied Vision Technologies GmbH
EMVA standards overview
9
Embedded
Vision
Interface
EMVA 1288
GenAPI
GenCP SFNC
GenTL
• EMVA - European Machine
Vision Association
• EMVA 1288: sensor/camera
specification and measurement
• GenICam: Generic Camera
Interface
• Embedded Vision Interface: new
EMVA standard initiative*
*note: name to be changed
© 2019 Allied Vision Technologies GmbH
GenICam GenAPI standard
• Mechanism to provide Generic API
• Node map with defined interfaces,
describing interdependencies
• Camera provides self-describing XML
• Describe camera's capabilities and
features
10
© 2019 Allied Vision Technologies GmbH
GenICam GenTL standard
• GenTL: Generic Transport Layer
• Low-level API to provide
standard access to cameras
• Independent from
camera's features
• Responsibilities:
• Enumerate devices
• Access device registers
• Stream image data
• Asynchronous events
11
SW Framework
GenTL Producer Consumer
BSPInterface driver
Application
Use Case
Kernel
© 2019 Allied Vision Technologies GmbH
V4L2 vs. GenICam interface
12
V4L2 GenICam
Ease of use
• Lean interface, easy to handle,
but low level programming
• With Media Control and Request
API handling becomes more
complex
• Low level interface with GenTL
producer and convenience level
with consumer implementation
• Complex software stack with
many standards and definitions
Capabilities
• Controls for basic image
processing features
• Camera controls for focus, zoom,
flash and mechanical control
• Support for MPEG codec control
and JPEG compression
• SFNC defines ~800 features
• High variety of camera controls to
do image processing available
• Features for sequencer mode,
various types of trigger or control
of 3D cameras available
Resources
• Interface exposed by drivers
located within the kernel
• Lean and resource friendly due to
usage of kernel components
• The concept of GenAPI XML file
requires space of several MB
either on the camera or host
Standardization
• Controls are not standardized,
but V4L2 interface is mainlined
• Cameras with additional features
require custom controls
• Very well established standards
available, with SFNC for features,
GenTL and GenAPI for camera
interface
star rating: the more, the better…
© 2019 Allied Vision Technologies GmbH 13
Hybrid driver approach
combining V4L2 and GenICam
© 2019 Allied Vision Technologies GmbH
Allied Vision's hybrid driver approach
14
Idea: combine benefits and offer both interfaces with one driver
Access camera via V4L2 or GenICam based applications
Existing V4L2 or GenICam code can be re-used
GenICam interface enables use of Allied Vision's camera SDK Vimba
Support for NXP platforms: i.MX6 and i.MX8 family (QuadMax, 8M, 8X)
Support for Nvidia platforms: Jetson TX2, AGX Xavier and Nano
© 2019 Allied Vision Technologies GmbH
Hybrid
driver
System overview with hybrid driver
and Alvium camera series
15
Producer
ConsumerApplication
sysfs
Custom IOCTLs
Alvium camera series
64bit
GenTL CSI lib
ExtendedBasicCommon
GenCP
Register Map
16bit
user
kernel
V4L2
V4L2 IOCTLs
© 2019 Allied Vision Technologies GmbH
Using GenICam mode with hybrid
driver and Alvium camera series
16
• Distinct camera modes for V4L2 and
GenICam to enable Vimba SDK usage
• Input and Output buffer register
to exchange control data with camera
• Handshake register to ensure
camera is ready and observe
status
Alvium camera series
Mode of operation
Handshake
Input / Output Buffer
© 2019 Allied Vision Technologies GmbH
Example: configure Multi ROI in Vimba
and stream images with V4L2
17
App Hybrid driverV4L2 Alvium
Open camera
Setup Exposure
Time, White Balance
Switch mode to
GenICam
Setup Multi ROI
Switch mode to
V4L2
Start streaming
V4L2
© 2019 Allied Vision Technologies GmbH 18
Conclusion
© 2019 Allied Vision Technologies GmbH
Conclusion – What's in for me?
19
V4L2: popular API
for embedded
Advanced image
processing with
GenICam
Conquer new
applications!Your freedom of
choice!
© 2019 Allied Vision Technologies GmbH
Thank you!
20
Corporate information
https://www.alliedvision.com
GenICam standards
https://www.emva.org/standards-
technology/genicam/
Visit our booth at #412
Embedded Vision Summit
“Accessing Advanced Image Processing
Feature Sets with Alvium Cameras Using a
V4L2/GenICam Hybrid Driver”
Details (Time, Date, etc.)
Speaker
Sebastian Guenther
Sebastian.guenther@alliedvision.com
© 2019 Allied Vision Technologies GmbH 21
Back-up Slides
© 2019 Allied Vision Technologies GmbH
GenICam SFNC standard
• SFNC: Standard Feature Naming
Convention
• Vendor independent feature access
• Standard behavioral model for devices
• Feature control groups:
• Acquisition and Trigger
• Color Transformation
• Sequencer
• etc.
22
© 2019 Allied Vision Technologies GmbH
GenICam GenCP standard
• GenCP: Generic Control Protocol
• Read/write register protocol
• Bootstrap Register Map (BRM)
• Packet based communication
• Protocol mechanisms:
• Command and ACK
• Pending Acknowledge
• Message channels
• etc.
23
© 2019 Allied Vision Technologies GmbH
Vimba
• Allied Vision's SDK for
GigE Vision, USB3 Vision, IEEE 1394,
Camera Link and MIPI CSI-2 cameras
• GenICam compliant
• Platform independent
(Windows, Linux and Linux ARM)
• APIs for C, C++ and .NET
• Connectivity to 3rd party software,
e.g. MATLAB, OpenCV, Halcon and
Common Vision Blocks
24
USB3
Vision
IEEE
1394
GigE
Vimba Core
C API
C++ API
.NET API
Camera
Link CSI-2
© 2019 Allied Vision Technologies GmbH
Alvium camera series
25
CPU
GPU
Image Signal
Processor
VPU
Co Processors
CSI-2
D-PHY RX
HDMIEmbedded Board
DSP
Peripherals
Image Signal
Processor
Flexible
Sensor
CSI-2
D-PHY TXCamera Module
• Save host resources by shifting image processing
to MIPI CSI-2 camera module
© 2019 Allied Vision Technologies GmbH
Alvium camera series
Example: Multi ROI Feature
26
Increased
contrast
Applied RGB
look-up table
• ROI (Region of Interest)
• Less pixel transferred, FPS increased
• Individual settings for each Region

More Related Content

PDF
Kubota v2003 m-di-t diesel engine service repair manual
PPTX
Presentation pv
PPT
Presentation pompage solaire
PDF
PFE-CVC.pdf
PDF
Réseau GSM, installation de BTS (DBS3900)
PPTX
power point cedric
PDF
Circuits Courts Food & Digital
PPTX
573423917-Systeme-de-Pompage-Solaire-PFE-2020.pptx
Kubota v2003 m-di-t diesel engine service repair manual
Presentation pv
Presentation pompage solaire
PFE-CVC.pdf
Réseau GSM, installation de BTS (DBS3900)
power point cedric
Circuits Courts Food & Digital
573423917-Systeme-de-Pompage-Solaire-PFE-2020.pptx

What's hot (20)

PDF
Etude, conception et réalisation d'une antenne planaire HF en technologie mic...
PDF
Cahier des Charges de faisabilité cogénération en industrie
PPS
Le Streaming : Comment ça marche ?
PPTX
Système de financement PAYGO des Kits Solaires en Afrique et au Cameroun
PDF
PPTX
Audit Energétique
PDF
Réseau lora
PDF
Rapport pfe Oumaima AJBARA NAHY (1).pdf
PPT
La methode des 5 s
PDF
Chapitre 3: Transport et distribution de l'énergie: pétrole, électricité et ...
PDF
Fundamentals of Managing the Data Center Life Cycle for Owners
PPTX
2.1 la charte du projet
PPTX
Optimisation du WIP et déploiement du Lean Management : Lear Corporation TRIM...
PDF
The Path to "Zen 2"
 
DOCX
Hydrostatique
PDF
Cours Télévision Numérique.pdf
PPTX
Video Compression Basics by sahil jain
PPT
Lean management
PDF
XL Groupe et le Toyota Production System
Etude, conception et réalisation d'une antenne planaire HF en technologie mic...
Cahier des Charges de faisabilité cogénération en industrie
Le Streaming : Comment ça marche ?
Système de financement PAYGO des Kits Solaires en Afrique et au Cameroun
Audit Energétique
Réseau lora
Rapport pfe Oumaima AJBARA NAHY (1).pdf
La methode des 5 s
Chapitre 3: Transport et distribution de l'énergie: pétrole, électricité et ...
Fundamentals of Managing the Data Center Life Cycle for Owners
2.1 la charte du projet
Optimisation du WIP et déploiement du Lean Management : Lear Corporation TRIM...
The Path to "Zen 2"
 
Hydrostatique
Cours Télévision Numérique.pdf
Video Compression Basics by sahil jain
Lean management
XL Groupe et le Toyota Production System
Ad

Similar to "Accessing Advanced Image Processing Feature Sets with Alvium Cameras Using a V4L2/GenICam Hybrid Driver," a Presentation from Allied Vision (20)

PDF
“Autonomous Driving AI Workloads: Technology Trends and Optimization Strategi...
PPTX
Automotive Challenges Addressed by Standard and Non-Standard Based IP
PDF
MIPI DevCon 2020 | MIPI DevCon 2020 | How MIPI Interfaces Solve Challenges in...
PPT
Trends in Visualization for Armoured Vehicles
PDF
"Trends and Recent Developments in Processors for Vision," a Presentation fro...
PDF
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 Cameras
PDF
"Computer Vision 2.0: Where We Are and Where We're Going," a Presentation fro...
PPT
T062500000 p003050ppte
PDF
Ambarella(06/2021)--Application of ambarella AI vision chip solution in smart...
PDF
"Computer Vision in Cars: Status, Challenges, and Trends," a Presentation fro...
PPTX
Add sale davinci
PDF
“Optimized Image Processing for Automotive Image Sensors with Novel Color Fil...
PPT
Upgrade Your Broadcast System to PCIe Gen2
PDF
MIPI DevCon Seoul 2018: Powering AI and Automotive Applications with the MIPI...
PDF
Can valuable ITS data be delivered using camera technologies?
PDF
MIPI DevCon 2016: Meeting Demands for Camera and Sensor Interfaces in IoT and...
PDF
Lecture 15 ryuzo okada - vision processors for embedded computer vision
PPTX
Embedded vision system
PDF
"Building Complete Embedded Vision Systems on Linux—From Camera to Display," ...
PPTX
Embedded vision
“Autonomous Driving AI Workloads: Technology Trends and Optimization Strategi...
Automotive Challenges Addressed by Standard and Non-Standard Based IP
MIPI DevCon 2020 | MIPI DevCon 2020 | How MIPI Interfaces Solve Challenges in...
Trends in Visualization for Armoured Vehicles
"Trends and Recent Developments in Processors for Vision," a Presentation fro...
MIPI DevCon 2016: Accelerating Software Development for MIPI CSI-2 Cameras
"Computer Vision 2.0: Where We Are and Where We're Going," a Presentation fro...
T062500000 p003050ppte
Ambarella(06/2021)--Application of ambarella AI vision chip solution in smart...
"Computer Vision in Cars: Status, Challenges, and Trends," a Presentation fro...
Add sale davinci
“Optimized Image Processing for Automotive Image Sensors with Novel Color Fil...
Upgrade Your Broadcast System to PCIe Gen2
MIPI DevCon Seoul 2018: Powering AI and Automotive Applications with the MIPI...
Can valuable ITS data be delivered using camera technologies?
MIPI DevCon 2016: Meeting Demands for Camera and Sensor Interfaces in IoT and...
Lecture 15 ryuzo okada - vision processors for embedded computer vision
Embedded vision system
"Building Complete Embedded Vision Systems on Linux—From Camera to Display," ...
Embedded vision
Ad

More from Edge AI and Vision Alliance (20)

PDF
“An Introduction to the MIPI CSI-2 Image Sensor Standard and Its Latest Advan...
PDF
“Visual Search: Fine-grained Recognition with Embedding Models for the Edge,”...
PDF
“Optimizing Real-time SLAM Performance for Autonomous Robots with GPU Acceler...
PDF
“LLMs and VLMs for Regulatory Compliance, Quality Control and Safety Applicat...
PDF
“Simplifying Portable Computer Vision with OpenVX 2.0,” a Presentation from AMD
PDF
“Quantization Techniques for Efficient Deployment of Large Language Models: A...
PDF
“Introduction to Data Types for AI: Trade-offs and Trends,” a Presentation fr...
PDF
“Introduction to Radar and Its Use for Machine Perception,” a Presentation fr...
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
PDF
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
PDF
“ONNX and Python to C++: State-of-the-art Graph Compilation,” a Presentation ...
PDF
“Beyond the Demo: Turning Computer Vision Prototypes into Scalable, Cost-effe...
PDF
“Running Accelerated CNNs on Low-power Microcontrollers Using Arm Ethos-U55, ...
PDF
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
PDF
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
PDF
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
PDF
“Evolving Inference Processor Software Stacks to Support LLMs,” a Presentatio...
PDF
“Efficiently Registering Depth and RGB Images,” a Presentation from eInfochips
“An Introduction to the MIPI CSI-2 Image Sensor Standard and Its Latest Advan...
“Visual Search: Fine-grained Recognition with Embedding Models for the Edge,”...
“Optimizing Real-time SLAM Performance for Autonomous Robots with GPU Acceler...
“LLMs and VLMs for Regulatory Compliance, Quality Control and Safety Applicat...
“Simplifying Portable Computer Vision with OpenVX 2.0,” a Presentation from AMD
“Quantization Techniques for Efficient Deployment of Large Language Models: A...
“Introduction to Data Types for AI: Trade-offs and Trends,” a Presentation fr...
“Introduction to Radar and Its Use for Machine Perception,” a Presentation fr...
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
“Computer Vision at Sea: Automated Fish Tracking for Sustainable Fishing,” a ...
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
“ONNX and Python to C++: State-of-the-art Graph Compilation,” a Presentation ...
“Beyond the Demo: Turning Computer Vision Prototypes into Scalable, Cost-effe...
“Running Accelerated CNNs on Low-power Microcontrollers Using Arm Ethos-U55, ...
“Scaling i.MX Applications Processors’ Native Edge AI with Discrete AI Accele...
“A Re-imagination of Embedded Vision System Design,” a Presentation from Imag...
“MPU+: A Transformative Solution for Next-Gen AI at the Edge,” a Presentation...
“Evolving Inference Processor Software Stacks to Support LLMs,” a Presentatio...
“Efficiently Registering Depth and RGB Images,” a Presentation from eInfochips

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Assigned Numbers - 2025 - Bluetooth® Document
The Rise and Fall of 3GPP – Time for a Sabbatical?
20250228 LYD VKU AI Blended-Learning.pptx
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Unlocking AI with Model Context Protocol (MCP)
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
A Presentation on Artificial Intelligence
Per capita expenditure prediction using model stacking based on satellite ima...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectral efficient network and resource selection model in 5G networks
MIND Revenue Release Quarter 2 2025 Press Release
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.

"Accessing Advanced Image Processing Feature Sets with Alvium Cameras Using a V4L2/GenICam Hybrid Driver," a Presentation from Allied Vision

  • 1. © 2019 Allied Vision Technologies GmbH Accessing Advanced Image Processing Feature Sets with Alvium Cameras Using a V4L2/GenICam Hybrid Driver Sebastian Guenther May 2019
  • 2. © 2019 Allied Vision Technologies GmbH Corporate Information 2 • Industrial and Machine Vision camera supplier since 1989 • >300 employees • Headquarters in Germany • Worldwide sales and distribution
  • 3. © 2019 Allied Vision Technologies GmbH 3 Embedded Vision Systems and their pain points
  • 4. © 2019 Allied Vision Technologies GmbH Typical Embedded Vision System 4 SW Framework V4L2 interface User libs BSPDriver Application Use Case Kernel // Image sensor // MIPI CSI-2 interface // Host System // Computer on Module
  • 5. © 2019 Allied Vision Technologies GmbH Key challenges CSI-2 driver development 5 Integration efforts Expertise Functionality and Registers Timing / Behavior Image pipeline Components Image Sensor Host HW (SoC, ISP, etc.) Image processing User interfaceCamera API SW Framework Algorithms / calculations • Sensor specific design • Incomplete data sheets • Redesign exchanging sensor • Know-how of SoC internals required • Lack of information • Limited ISP and its accessibility • Camera interface (V4L2) might be limited and custom controls required • Lack of convenience for complex devices 1 2 3 Pain points
  • 6. © 2019 Allied Vision Technologies GmbH Alvium camera series 6 Integrated on-board image processing Multiple housing and mount options Cost optimized design Different options of integrated sensors Easy hardware and software integration MIPI CSI-2 and USB-3 interface Intelligent power management Industrial grade 1 2
  • 7. © 2019 Allied Vision Technologies GmbH 7 Video for Linux interface and GeniCam standards
  • 8. © 2019 Allied Vision Technologies GmbH V4L2 for CSI-2 cameras 8 Video for Linux User interface exposed by controls via the kernel driver Basic image processing functions (e.g. contrast, sharpness) Camera controls for focus, zoom or flash Codec support for MPEG and JPEG image compression Complex devices (sensor + SoC ISP) handled by Media Control API
  • 9. © 2019 Allied Vision Technologies GmbH EMVA standards overview 9 Embedded Vision Interface EMVA 1288 GenAPI GenCP SFNC GenTL • EMVA - European Machine Vision Association • EMVA 1288: sensor/camera specification and measurement • GenICam: Generic Camera Interface • Embedded Vision Interface: new EMVA standard initiative* *note: name to be changed
  • 10. © 2019 Allied Vision Technologies GmbH GenICam GenAPI standard • Mechanism to provide Generic API • Node map with defined interfaces, describing interdependencies • Camera provides self-describing XML • Describe camera's capabilities and features 10
  • 11. © 2019 Allied Vision Technologies GmbH GenICam GenTL standard • GenTL: Generic Transport Layer • Low-level API to provide standard access to cameras • Independent from camera's features • Responsibilities: • Enumerate devices • Access device registers • Stream image data • Asynchronous events 11 SW Framework GenTL Producer Consumer BSPInterface driver Application Use Case Kernel
  • 12. © 2019 Allied Vision Technologies GmbH V4L2 vs. GenICam interface 12 V4L2 GenICam Ease of use • Lean interface, easy to handle, but low level programming • With Media Control and Request API handling becomes more complex • Low level interface with GenTL producer and convenience level with consumer implementation • Complex software stack with many standards and definitions Capabilities • Controls for basic image processing features • Camera controls for focus, zoom, flash and mechanical control • Support for MPEG codec control and JPEG compression • SFNC defines ~800 features • High variety of camera controls to do image processing available • Features for sequencer mode, various types of trigger or control of 3D cameras available Resources • Interface exposed by drivers located within the kernel • Lean and resource friendly due to usage of kernel components • The concept of GenAPI XML file requires space of several MB either on the camera or host Standardization • Controls are not standardized, but V4L2 interface is mainlined • Cameras with additional features require custom controls • Very well established standards available, with SFNC for features, GenTL and GenAPI for camera interface star rating: the more, the better…
  • 13. © 2019 Allied Vision Technologies GmbH 13 Hybrid driver approach combining V4L2 and GenICam
  • 14. © 2019 Allied Vision Technologies GmbH Allied Vision's hybrid driver approach 14 Idea: combine benefits and offer both interfaces with one driver Access camera via V4L2 or GenICam based applications Existing V4L2 or GenICam code can be re-used GenICam interface enables use of Allied Vision's camera SDK Vimba Support for NXP platforms: i.MX6 and i.MX8 family (QuadMax, 8M, 8X) Support for Nvidia platforms: Jetson TX2, AGX Xavier and Nano
  • 15. © 2019 Allied Vision Technologies GmbH Hybrid driver System overview with hybrid driver and Alvium camera series 15 Producer ConsumerApplication sysfs Custom IOCTLs Alvium camera series 64bit GenTL CSI lib ExtendedBasicCommon GenCP Register Map 16bit user kernel V4L2 V4L2 IOCTLs
  • 16. © 2019 Allied Vision Technologies GmbH Using GenICam mode with hybrid driver and Alvium camera series 16 • Distinct camera modes for V4L2 and GenICam to enable Vimba SDK usage • Input and Output buffer register to exchange control data with camera • Handshake register to ensure camera is ready and observe status Alvium camera series Mode of operation Handshake Input / Output Buffer
  • 17. © 2019 Allied Vision Technologies GmbH Example: configure Multi ROI in Vimba and stream images with V4L2 17 App Hybrid driverV4L2 Alvium Open camera Setup Exposure Time, White Balance Switch mode to GenICam Setup Multi ROI Switch mode to V4L2 Start streaming V4L2
  • 18. © 2019 Allied Vision Technologies GmbH 18 Conclusion
  • 19. © 2019 Allied Vision Technologies GmbH Conclusion – What's in for me? 19 V4L2: popular API for embedded Advanced image processing with GenICam Conquer new applications!Your freedom of choice!
  • 20. © 2019 Allied Vision Technologies GmbH Thank you! 20 Corporate information https://www.alliedvision.com GenICam standards https://www.emva.org/standards- technology/genicam/ Visit our booth at #412 Embedded Vision Summit “Accessing Advanced Image Processing Feature Sets with Alvium Cameras Using a V4L2/GenICam Hybrid Driver” Details (Time, Date, etc.) Speaker Sebastian Guenther Sebastian.guenther@alliedvision.com
  • 21. © 2019 Allied Vision Technologies GmbH 21 Back-up Slides
  • 22. © 2019 Allied Vision Technologies GmbH GenICam SFNC standard • SFNC: Standard Feature Naming Convention • Vendor independent feature access • Standard behavioral model for devices • Feature control groups: • Acquisition and Trigger • Color Transformation • Sequencer • etc. 22
  • 23. © 2019 Allied Vision Technologies GmbH GenICam GenCP standard • GenCP: Generic Control Protocol • Read/write register protocol • Bootstrap Register Map (BRM) • Packet based communication • Protocol mechanisms: • Command and ACK • Pending Acknowledge • Message channels • etc. 23
  • 24. © 2019 Allied Vision Technologies GmbH Vimba • Allied Vision's SDK for GigE Vision, USB3 Vision, IEEE 1394, Camera Link and MIPI CSI-2 cameras • GenICam compliant • Platform independent (Windows, Linux and Linux ARM) • APIs for C, C++ and .NET • Connectivity to 3rd party software, e.g. MATLAB, OpenCV, Halcon and Common Vision Blocks 24 USB3 Vision IEEE 1394 GigE Vimba Core C API C++ API .NET API Camera Link CSI-2
  • 25. © 2019 Allied Vision Technologies GmbH Alvium camera series 25 CPU GPU Image Signal Processor VPU Co Processors CSI-2 D-PHY RX HDMIEmbedded Board DSP Peripherals Image Signal Processor Flexible Sensor CSI-2 D-PHY TXCamera Module • Save host resources by shifting image processing to MIPI CSI-2 camera module
  • 26. © 2019 Allied Vision Technologies GmbH Alvium camera series Example: Multi ROI Feature 26 Increased contrast Applied RGB look-up table • ROI (Region of Interest) • Less pixel transferred, FPS increased • Individual settings for each Region