SlideShare a Scribd company logo
1 of 68
Accident Reconstruction
Aleksis Liekna
Scope Technologies
1
Contents
• Preface
• Speaker
• Scope Technologies
• Accident Reconstruction
• Introduction
• Changes in Marked Demands
• Evolution of Accident Reconstruction
• Accident Playback in 3D
• Displaying Spatial Information in 3D
• Introduction
• Google StreetView
• OpenStreetMaps
• Putting it all Together
• Physics in Accident Reconstruction
• Car Rotation
• Deformation of impacted zone
2
Preface
3
Preface – Speaker
• Aleksis Liekna
• Over 10 years of experience in software development
• Education
• Mg.sc.ing. in Computer Science from Riga Technical University
• Unfinished PhD 
• Currently working as:
• Software developer @ Scope Technologies  .NET, SQL, JavaScript, etc.
• Lecturer @ Riga Technical University  teaching microcontroller programming in robotics
• Professional interests:
• Exciting projects, including robotics, microcontrollers, practical application of mathematics
and 3D visualizations
• Hobbies
• Camping, geocaching, nature traveling
4
Preface – Scope Technologies
• Established in South Africa 1999
• Main offices in South Africa, and Latvia. Sales offices in Singapore, Ireland, and Argentina.
Sales and marketing via distribution and partner network
• The company is involved in 4 main verticals: Insurance Telematics, Fleet Management ,
and the After Market (service workshops), and consumer connected car services
• Entered the Telematics fleet management market in 2001 .Commenced activities in the
insurance Telematics sector in 2008
• The solutions marketed and distributed by Scope, are exclusively designed and produced
by the company. The products are backed by an extensive patent portfolio
• Global partner footprint
• Rated “Top Telematics Technology Providers” by Technology from Ptolemus Consulting
5
Preface – Scope Technologies
• Companies using Scope’s solutions include
6
Preface – Scope Technologies
7
Preface – Scope Technologies
8
Preface – Scope Technologies
9
Preface – Scope Technologies
• Video
10
Preface – Scope Technologies
• We are hiring!
• Overall requirements
• Passionate, responsible and trustworthy team-player
• Must want to make a difference, not just a regular worker
• Fluently in English, REST, JSON and Object-Oriented development
• Senior .NET developers
• C# - 5 years of experience
• Experience in HTML, JavaScript and ASP.NET
• Fluently in SQL
• Mobile developers
• iOS and / or Android – 2 years of experience
• Good UI design skills
• Software testers
• Experience in web, backend, web-service and mobile application testing
• Contact:
• charmaine@scopetechnology.com
11
Accident Reconstruction
Introduction
12
Accident Reconstruction
13
Accident Reconstruction
14
What happened?
Accident Reconstruction – Introduction
• Accident detection
• How to determine if a car has suffered an accident?
• What are the properties of the accident?
• How severe?
• Is human injury likely?
• How can we use this information to provide immediate assistance?
• Automated emergency call
• Post-factum analysis
• Accident verification
• Is this what really happened?
• Accident analysis
• How did this happen and why?
• Provide as much context as possible
15
Accident Reconstruction – Changes in Market
Demands
• First wave
• We want to know if accident happened and what are the impacted zones
• Second wave
• It would be nice to play back the accident
• Third wave
• What about accident reconstruction in 3D?
• Can we view this in Virtual Reality (VR) using Oculus Rift?
16
Evolution of Accident Reconstruction
• First wave
• We want to know if accident happened and what are the impacted zones
17
Evolution of Accident Reconstruction
• Second wave
• It would be nice to play back the accident
18
Evolution of Accident Reconstruction
• Third wave
• What about accident reconstruction in 3D?
19
Accident Playback in 3D
• How it all started?
20
Accident Playback in 3D
• How it all started?
• We had this
21
Accident Playback in 3D
• How it all started?
• We had this
• What is the problem?
22
Accident Playback in 3D
• How it all started?
• We had this
• What is the problem?
• There is no context!
• Where was the car driving?
• What about surroundings?
23
Accident Playback in 3D
• How it all started?
• We had this
• What is the problem?
• There is no context!
• Where was the car driving?
• What about surroundings?
• What if we could make the
car drive on an actual road?
• What if we could include physics?
24
Accident Playback in 3D
• How it all started?
• We had this
• What is the problem?
• There is no context!
• Where was the car driving?
• What about surroundings?
• What if we could make the
car drive on an actual road?
• What if we could include physics?
• Conclusion – we need to place the car on the road and incorporate physics
into accident playback
25
Displaying Spatial Information in
3D
26
Displaying Spatial Information in 3D
• Where to get spatial information?
27
Displaying Spatial Information in 3D
• Where to get spatial information?
• Most popular choice: Google Maps & API
• Map tiles
• StreetView
• Snap-to-Roads
• Speed limit
28
Displaying Spatial Information in 3D
29
Map Tiles StreetView
Displaying Spatial Information in 3D
• Snap-to-Roads
30
Displaying Spatial Information in 3D
• Snap-to-Roads
31
What you get from GPS
GPS route snapped to
actual roads
Displaying Spatial Information in 3D
• Google Maps & API
• Map tiles
• StreetView
• Snap-to-Roads
• Speed limit
• What of the above can be used to create 3D environments?
32
Displaying Spatial Information in 3D
• Google Maps & API
• Map tiles
• StreetView
• Snap-to-Roads
• Speed limit
• What of the above can be used to create 3D environments?
• Snap-to-Roads – we need adequate positions
• StreetView – can provide both 2D and 3D images
33
Displaying Spatial Information in 3D
• Google Maps & API
• Map tiles
• StreetView
• Snap-to-Roads
• Speed limit
• What of the above can be used to create 3D environments?
• Snap-to-Roads – we need adequate positions
• StreetView – can provide both 2D and 3D images
• Let us see how!
34
Google StreetView in 2D
• A single call to documented Google API
• Inputs:
• Latitude, Longitude, Heading, Pitch
• Output:
• An image
35
Google StreetView in 2D
• An example:
• Input:
• http://maps.googleapis.com/maps/api/streetview?size=640x480&location=4
3.0635309,141.3253261&fov=120&heading=235&pitch=10&sensor=false
• Output:
36
Google StreetView in 2D
• Pros:
• Easy to implement
• Provides visual context of the surrounding environment
• Cons:
• All you get is a 2D image – no 3D 
• Not a real-time solution
37
Google StreetView in 3D
• You can get panorama images from Google undocumented API
• Call Google API to get panorama id by location
• Panorama consists of multiple images, depending on zoom level
• Get all panorama image parts, based on panorama id and zoom level
• Create a unified panorama image, based on parts obtained
• Apply the resulting image to a 3D sphere object
• Place camera (observer) in the middle of the sphere
• We have a 360 degree StreetView
• Why is it better than the “default”?
• We have full control over what we do
• We can include additional information (e.g. 3D model of the car)
• We can make it a real-time experience, if we switch spheres quickly enough
38
Google StreetView in 3D
• Image parts
39
Google StreetView in 3D
• Resulting image
40
Google StreetView in 3D
• Image as texture on a 3D sphere
41
Google StreetView in 3D
• Image as texture on a 3D sphere
42
We have a 360 view, which is great
BUT
What about 3D?
Google StreetView in 3D
• It turns out, Google has an undocumented API that provides distance
from Google car to each point (resolution of 512x256) in the spherical
image based on panorama id
• We can use this information to transform the sphere geometry and
make it a “real 3D”
43
Google StreetView in 3D
• Sphere, transformed
44
Google StreetView in 3D
• Look from inside the sphere
45
Google StreetView in 3D
• Look from inside the sphere
46
What is different?
• Closer elements are closer
and vice-versa
• You can actually move in 3D
• Real-time experience
• Best viewed in VR, e.g. using
Oculus Rift
Summary of Google Maps & API for 3D
• Pros:
• StreetView together with Snap-to-Roads can provide a pseudo-realistic environment
for accident playback
• Cons:
• StreetView is not available everywhere, images can be several years old and include
large “censored” sections
• Displaying StreetView in 3D is resource and bandwidth intensive, not applicable to
every use-case
• Quality of the resulting 3D image can vary, depending on location
• Spatial data is embedded in map tiles and StreetView images. No way to extract
roads, buildings, etc. as separate entities and display them in 3D
• Conclusion
• We need to include other sources of information to create appropriate 3D
representation of the world
47
Displaying Spatial Information in 3D
• Beyond Google maps
• If you need “true” spatial information (not images), like roads, buildings, rivers, trees,
etc., you have look somewhere else
• One option is OpenStreetMaps (OSM) – a database, consisting of:
• Lines – roads, waterways, borders, fences, etc.
• Polygons – buildings, parks, sports areas, industrial areas, etc.
• Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc.
• OSM data is available for everyone for free:
• Whole planet with minutely updates: http://planet.openstreetmap.org/
• Various extracts, based on country / region: http://download.geofabrik.de/
• A number of open-source tools (and toolchains) exist to import this data into various
formats (eg. PostGIS enabled Postgres database)
48
OpenStreetMaps (OSM)
• OSM – a database, consisting of:
• Lines – roads, waterways, borders, fences, etc.
• Polygons – buildings, parks, sports areas, industrial areas, etc.
• Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc.
• Standard usage of OSM data:
• Download the data
• Import into local database
• Use a tool to render 2D map tiles
• You have your own map-server 
49
OpenStreetMaps (OSM)
• OSM – a database, consisting of:
• Lines – roads, waterways, borders, fences, etc.
• Polygons – buildings, parks, sports areas, industrial areas, etc.
• Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc.
• Standard usage of OSM data:
• Download the data
• Import into local database
• Use a tool to render 2D map tiles
• You have your own map-server 
50
Standard Usage of OSM
51
OpenStreetMaps (OSM)
• OSM – a database, consisting of:
• Lines – roads, waterways, borders, fences, etc.
• Polygons – buildings, parks, sports areas, industrial areas, etc.
• Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc.
• Our usage of OSM data:
• Download the data
• Import into local database
• Create a data access layer, that extracts data as geometries based on given
location
• Use a 3D engine to draw these geometries in 3D space as shapes (lines,
polygons, etc.)
52
Our Usage of OSM
53
Example: OSM B&W Style 2D Map
54
Example: Same Place, Rendered in 3D
55
Example: 2D vs 3D
56
Putting it all Together
57
Putting it all Together
• What do we have:
• Google StreetView in 2D and 3D
• Map in 3D
• OSM map tiles in 2D
• What does it give is:
• Car can be placed into a 3D environment, providing context of the
surroundings at certain location
• What is missing:
• Actual accident details – car rotation, deformation of impacted zones, etc.
(physics)
58
Physics in Accident
Reconstruction
59
Physics in Accident Reconstruction
• Actual physics of a car is very complex, especially in non-deterministic
situations like accidents
• We would need to know the precise properties of every screw to
create an appropriate physics model.
• There are initial unknowns, e.g. impactor properties (imagine hitting a
wall vs hitting a rabbit) that cannot be determined by telemetry alone
• That does not mean we cannot approximate!
• What can we determine, based on accelerometer and other sensors:
• Car rotation
• Approximate deformation of impacted zones
60
Car Rotation
61
• Rotation of a car is defined by
three rotation angles
• Roll
• Pitch
• Yaw
Car Rotation
• Accelerometer data can be used to calculate roll and pitch
• We can determine yaw using gyroscope and / or magnetometer
62Roll Pitch Yaw
Car Rotation – Example
63
Deformation of Impacted Zones
• We rely on telemetry only
• It is impossible to determine some factors (e.g. impactor surface area)
without user feedback.
• We are doing our best to provide adequate approximation based on
telemetry data
• What information do we posses:
• Impact angle
• Impact magnitude
• How can we use that for deformation:
• Adjust geometry of car 3D model – move polygon vertices accordingly
• Use shaders to change color of the affected triangles
64
Deformation of Impacted Zones - Example
65
Video is Worth a Thousand Pictures 
• Demo video
66
Preface – Scope Technologies
• We are hiring!
• Overall requirements
• Passionate, responsible and trustworthy team-player
• Must want to make a difference, not just a regular worker
• Fluently in English, REST, JSON and Object-Oriented development
• Senior .NET developers
• C# - 5 years of experience
• Experience in HTML, JavaScript and ASP.NET
• Fluently in SQL
• Mobile developers
• iOS and / or Android – 2 years of experience
• Good UI design skills
• Software testers
• Experience in web, backend, web-service and mobile application testing
• Contact:
• charmaine@scopetechnology.com
67
Thank You!
• The important thing is not to stop questioning (Einstein)
• Q & A ?
68

More Related Content

Similar to “Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto focused 47th DevClub.lv

Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Peter Horsbøll Møller
 
Use of AI in commuting
Use of AI in commutingUse of AI in commuting
Use of AI in commutingBansi Mehta
 
Synthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in RoboticsSynthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in RoboticsPrabindh Sundareson
 
OpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataOpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDatagssg
 
OpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataOpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataHarry Wood
 
Leveraging google earth for real estate
Leveraging google earth for real estateLeveraging google earth for real estate
Leveraging google earth for real estateNaresh Chandra
 
Leveraging google earth for industries
Leveraging google earth for industriesLeveraging google earth for industries
Leveraging google earth for industriesNaresh Chandra
 
Augmented reality in E-commerce
Augmented reality in E-commerceAugmented reality in E-commerce
Augmented reality in E-commerceAshwin P
 
Google Driverless Cars
Google Driverless Cars Google Driverless Cars
Google Driverless Cars Gopikrishna VM
 
Introduction of super map gis 10i bitcc technology jayson
Introduction of super map gis 10i bitcc technology jaysonIntroduction of super map gis 10i bitcc technology jayson
Introduction of super map gis 10i bitcc technology jaysonGeoMedeelel
 
Company profile Proposal
Company profile  ProposalCompany profile  Proposal
Company profile ProposalTilak Acharya
 
GeoCentroid- Company profile &proposal
GeoCentroid- Company profile &proposalGeoCentroid- Company profile &proposal
GeoCentroid- Company profile &proposalVinod kumar P
 

Similar to “Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto focused 47th DevClub.lv (20)

Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019Be Location Intelligent with MapInfo Pro v2019
Be Location Intelligent with MapInfo Pro v2019
 
Use of AI in commuting
Use of AI in commutingUse of AI in commuting
Use of AI in commuting
 
Synthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in RoboticsSynthetic Data and Graphics Techniques in Robotics
Synthetic Data and Graphics Techniques in Robotics
 
Master Planning Cities (with the help of CityEngine) (Elliot Hartley, Garsdal...
Master Planning Cities (with the help of CityEngine) (Elliot Hartley, Garsdal...Master Planning Cities (with the help of CityEngine) (Elliot Hartley, Garsdal...
Master Planning Cities (with the help of CityEngine) (Elliot Hartley, Garsdal...
 
OpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataOpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoData
 
OpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoDataOpenStreetMap : Open Licensed GeoData
OpenStreetMap : Open Licensed GeoData
 
Career exploration
Career explorationCareer exploration
Career exploration
 
Leveraging google earth for real estate
Leveraging google earth for real estateLeveraging google earth for real estate
Leveraging google earth for real estate
 
Leveraging google earth for industries
Leveraging google earth for industriesLeveraging google earth for industries
Leveraging google earth for industries
 
Augmented reality in E-commerce
Augmented reality in E-commerceAugmented reality in E-commerce
Augmented reality in E-commerce
 
Agi08 Jeremy Morley
Agi08 Jeremy MorleyAgi08 Jeremy Morley
Agi08 Jeremy Morley
 
3D Internet
3D Internet3D Internet
3D Internet
 
3D Internet
3D Internet3D Internet
3D Internet
 
3d internet ppt.pdf
3d internet ppt.pdf3d internet ppt.pdf
3d internet ppt.pdf
 
3D Internet
3D Internet3D Internet
3D Internet
 
Google Driverless Cars
Google Driverless Cars Google Driverless Cars
Google Driverless Cars
 
Introduction of super map gis 10i bitcc technology jayson
Introduction of super map gis 10i bitcc technology jaysonIntroduction of super map gis 10i bitcc technology jayson
Introduction of super map gis 10i bitcc technology jayson
 
GeoCentorid- Company profile
GeoCentorid- Company profileGeoCentorid- Company profile
GeoCentorid- Company profile
 
Company profile Proposal
Company profile  ProposalCompany profile  Proposal
Company profile Proposal
 
GeoCentroid- Company profile &proposal
GeoCentroid- Company profile &proposalGeoCentroid- Company profile &proposal
GeoCentroid- Company profile &proposal
 

More from DevClub_lv

Fine-tuning Large Language Models by Dmitry Balabka
Fine-tuning Large Language Models by Dmitry BalabkaFine-tuning Large Language Models by Dmitry Balabka
Fine-tuning Large Language Models by Dmitry BalabkaDevClub_lv
 
"Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ...
"Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ..."Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ...
"Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ...DevClub_lv
 
From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...DevClub_lv
 
Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...
Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...
Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...DevClub_lv
 
Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...
Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...
Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...DevClub_lv
 
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...DevClub_lv
 
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...DevClub_lv
 
SRE (service reliability engineer) on big DevOps platform running on the clou...
SRE (service reliability engineer) on big DevOps platform running on the clou...SRE (service reliability engineer) on big DevOps platform running on the clou...
SRE (service reliability engineer) on big DevOps platform running on the clou...DevClub_lv
 
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...DevClub_lv
 
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...DevClub_lv
 
Building resilient frontend architecture by Monica Lent at FrontCon 2019
Building resilient frontend architecture by Monica Lent at FrontCon 2019Building resilient frontend architecture by Monica Lent at FrontCon 2019
Building resilient frontend architecture by Monica Lent at FrontCon 2019DevClub_lv
 
Things that every JavaScript developer should know by Rachel Appel at FrontCo...
Things that every JavaScript developer should know by Rachel Appel at FrontCo...Things that every JavaScript developer should know by Rachel Appel at FrontCo...
Things that every JavaScript developer should know by Rachel Appel at FrontCo...DevClub_lv
 
In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...
In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...
In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...DevClub_lv
 
Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019
Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019
Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019DevClub_lv
 
V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...
V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...
V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...DevClub_lv
 
Bridging the gap between UX and development - A Storybook by Marko Letic at F...
Bridging the gap between UX and development - A Storybook by Marko Letic at F...Bridging the gap between UX and development - A Storybook by Marko Letic at F...
Bridging the gap between UX and development - A Storybook by Marko Letic at F...DevClub_lv
 
Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019
Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019
Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019DevClub_lv
 
Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...
Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...
Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...DevClub_lv
 
Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019
Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019
Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019DevClub_lv
 
Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019DevClub_lv
 

More from DevClub_lv (20)

Fine-tuning Large Language Models by Dmitry Balabka
Fine-tuning Large Language Models by Dmitry BalabkaFine-tuning Large Language Models by Dmitry Balabka
Fine-tuning Large Language Models by Dmitry Balabka
 
"Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ...
"Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ..."Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ...
"Infrastructure and AWS at Scale: The story of Posti" by Goran Gjorgievski @ ...
 
From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...From 50 to 500 product engineers – data-driven approach to building impactful...
From 50 to 500 product engineers – data-driven approach to building impactful...
 
Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...
Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...
Why is it so complex to accept a payment? by Dmitry Buzdin from A-Heads Consu...
 
Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...
Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...
Do we need DDD? by Jurijs Čudnovskis from “Craftsmans Passion” at Fintech foc...
 
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...
Network security with Azure PaaS services by Erwin Staal from 4DotNet at Azur...
 
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...
Using Azure Managed Identities for your App Services by Jan de Vries from 4Do...
 
SRE (service reliability engineer) on big DevOps platform running on the clou...
SRE (service reliability engineer) on big DevOps platform running on the clou...SRE (service reliability engineer) on big DevOps platform running on the clou...
SRE (service reliability engineer) on big DevOps platform running on the clou...
 
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
Emergence of IOT & Cloud – Azure by Narendra Sharma at Cloud focused 76th Dev...
 
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...
 
Building resilient frontend architecture by Monica Lent at FrontCon 2019
Building resilient frontend architecture by Monica Lent at FrontCon 2019Building resilient frontend architecture by Monica Lent at FrontCon 2019
Building resilient frontend architecture by Monica Lent at FrontCon 2019
 
Things that every JavaScript developer should know by Rachel Appel at FrontCo...
Things that every JavaScript developer should know by Rachel Appel at FrontCo...Things that every JavaScript developer should know by Rachel Appel at FrontCo...
Things that every JavaScript developer should know by Rachel Appel at FrontCo...
 
In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...
In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...
In the Trenches During a Software Supply Chain Attack by Mitch Denny at Front...
 
Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019
Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019
Software Decision Making in Terms of Uncertainty by Ziv Levy at FrontCon 2019
 
V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...
V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...
V8 by example: A journey through the compilation pipeline by Ujjwas Sharma at...
 
Bridging the gap between UX and development - A Storybook by Marko Letic at F...
Bridging the gap between UX and development - A Storybook by Marko Letic at F...Bridging the gap between UX and development - A Storybook by Marko Letic at F...
Bridging the gap between UX and development - A Storybook by Marko Letic at F...
 
Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019
Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019
Case-study: Frontend in Cybersecurity by Ruslan Zavacky by FrontCon 2019
 
Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...
Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...
Building next generation PWA e-commerce frontend by Raivis Dejus at FrontCon ...
 
Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019
Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019
Parcel – your next web application bundler? by Janis Koselevs at FrontCon 2019
 
Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019Managing State in React Apps with RxJS by James Wright at FrontCon 2019
Managing State in React Apps with RxJS by James Wright at FrontCon 2019
 

Recently uploaded

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Recently uploaded (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

“Accident Reconstruction” by Aleksis Liekna from Scope Technologies at Auto focused 47th DevClub.lv

  • 2. Contents • Preface • Speaker • Scope Technologies • Accident Reconstruction • Introduction • Changes in Marked Demands • Evolution of Accident Reconstruction • Accident Playback in 3D • Displaying Spatial Information in 3D • Introduction • Google StreetView • OpenStreetMaps • Putting it all Together • Physics in Accident Reconstruction • Car Rotation • Deformation of impacted zone 2
  • 4. Preface – Speaker • Aleksis Liekna • Over 10 years of experience in software development • Education • Mg.sc.ing. in Computer Science from Riga Technical University • Unfinished PhD  • Currently working as: • Software developer @ Scope Technologies  .NET, SQL, JavaScript, etc. • Lecturer @ Riga Technical University  teaching microcontroller programming in robotics • Professional interests: • Exciting projects, including robotics, microcontrollers, practical application of mathematics and 3D visualizations • Hobbies • Camping, geocaching, nature traveling 4
  • 5. Preface – Scope Technologies • Established in South Africa 1999 • Main offices in South Africa, and Latvia. Sales offices in Singapore, Ireland, and Argentina. Sales and marketing via distribution and partner network • The company is involved in 4 main verticals: Insurance Telematics, Fleet Management , and the After Market (service workshops), and consumer connected car services • Entered the Telematics fleet management market in 2001 .Commenced activities in the insurance Telematics sector in 2008 • The solutions marketed and distributed by Scope, are exclusively designed and produced by the company. The products are backed by an extensive patent portfolio • Global partner footprint • Rated “Top Telematics Technology Providers” by Technology from Ptolemus Consulting 5
  • 6. Preface – Scope Technologies • Companies using Scope’s solutions include 6
  • 7. Preface – Scope Technologies 7
  • 8. Preface – Scope Technologies 8
  • 9. Preface – Scope Technologies 9
  • 10. Preface – Scope Technologies • Video 10
  • 11. Preface – Scope Technologies • We are hiring! • Overall requirements • Passionate, responsible and trustworthy team-player • Must want to make a difference, not just a regular worker • Fluently in English, REST, JSON and Object-Oriented development • Senior .NET developers • C# - 5 years of experience • Experience in HTML, JavaScript and ASP.NET • Fluently in SQL • Mobile developers • iOS and / or Android – 2 years of experience • Good UI design skills • Software testers • Experience in web, backend, web-service and mobile application testing • Contact: • charmaine@scopetechnology.com 11
  • 15. Accident Reconstruction – Introduction • Accident detection • How to determine if a car has suffered an accident? • What are the properties of the accident? • How severe? • Is human injury likely? • How can we use this information to provide immediate assistance? • Automated emergency call • Post-factum analysis • Accident verification • Is this what really happened? • Accident analysis • How did this happen and why? • Provide as much context as possible 15
  • 16. Accident Reconstruction – Changes in Market Demands • First wave • We want to know if accident happened and what are the impacted zones • Second wave • It would be nice to play back the accident • Third wave • What about accident reconstruction in 3D? • Can we view this in Virtual Reality (VR) using Oculus Rift? 16
  • 17. Evolution of Accident Reconstruction • First wave • We want to know if accident happened and what are the impacted zones 17
  • 18. Evolution of Accident Reconstruction • Second wave • It would be nice to play back the accident 18
  • 19. Evolution of Accident Reconstruction • Third wave • What about accident reconstruction in 3D? 19
  • 20. Accident Playback in 3D • How it all started? 20
  • 21. Accident Playback in 3D • How it all started? • We had this 21
  • 22. Accident Playback in 3D • How it all started? • We had this • What is the problem? 22
  • 23. Accident Playback in 3D • How it all started? • We had this • What is the problem? • There is no context! • Where was the car driving? • What about surroundings? 23
  • 24. Accident Playback in 3D • How it all started? • We had this • What is the problem? • There is no context! • Where was the car driving? • What about surroundings? • What if we could make the car drive on an actual road? • What if we could include physics? 24
  • 25. Accident Playback in 3D • How it all started? • We had this • What is the problem? • There is no context! • Where was the car driving? • What about surroundings? • What if we could make the car drive on an actual road? • What if we could include physics? • Conclusion – we need to place the car on the road and incorporate physics into accident playback 25
  • 27. Displaying Spatial Information in 3D • Where to get spatial information? 27
  • 28. Displaying Spatial Information in 3D • Where to get spatial information? • Most popular choice: Google Maps & API • Map tiles • StreetView • Snap-to-Roads • Speed limit 28
  • 29. Displaying Spatial Information in 3D 29 Map Tiles StreetView
  • 30. Displaying Spatial Information in 3D • Snap-to-Roads 30
  • 31. Displaying Spatial Information in 3D • Snap-to-Roads 31 What you get from GPS GPS route snapped to actual roads
  • 32. Displaying Spatial Information in 3D • Google Maps & API • Map tiles • StreetView • Snap-to-Roads • Speed limit • What of the above can be used to create 3D environments? 32
  • 33. Displaying Spatial Information in 3D • Google Maps & API • Map tiles • StreetView • Snap-to-Roads • Speed limit • What of the above can be used to create 3D environments? • Snap-to-Roads – we need adequate positions • StreetView – can provide both 2D and 3D images 33
  • 34. Displaying Spatial Information in 3D • Google Maps & API • Map tiles • StreetView • Snap-to-Roads • Speed limit • What of the above can be used to create 3D environments? • Snap-to-Roads – we need adequate positions • StreetView – can provide both 2D and 3D images • Let us see how! 34
  • 35. Google StreetView in 2D • A single call to documented Google API • Inputs: • Latitude, Longitude, Heading, Pitch • Output: • An image 35
  • 36. Google StreetView in 2D • An example: • Input: • http://maps.googleapis.com/maps/api/streetview?size=640x480&location=4 3.0635309,141.3253261&fov=120&heading=235&pitch=10&sensor=false • Output: 36
  • 37. Google StreetView in 2D • Pros: • Easy to implement • Provides visual context of the surrounding environment • Cons: • All you get is a 2D image – no 3D  • Not a real-time solution 37
  • 38. Google StreetView in 3D • You can get panorama images from Google undocumented API • Call Google API to get panorama id by location • Panorama consists of multiple images, depending on zoom level • Get all panorama image parts, based on panorama id and zoom level • Create a unified panorama image, based on parts obtained • Apply the resulting image to a 3D sphere object • Place camera (observer) in the middle of the sphere • We have a 360 degree StreetView • Why is it better than the “default”? • We have full control over what we do • We can include additional information (e.g. 3D model of the car) • We can make it a real-time experience, if we switch spheres quickly enough 38
  • 39. Google StreetView in 3D • Image parts 39
  • 40. Google StreetView in 3D • Resulting image 40
  • 41. Google StreetView in 3D • Image as texture on a 3D sphere 41
  • 42. Google StreetView in 3D • Image as texture on a 3D sphere 42 We have a 360 view, which is great BUT What about 3D?
  • 43. Google StreetView in 3D • It turns out, Google has an undocumented API that provides distance from Google car to each point (resolution of 512x256) in the spherical image based on panorama id • We can use this information to transform the sphere geometry and make it a “real 3D” 43
  • 44. Google StreetView in 3D • Sphere, transformed 44
  • 45. Google StreetView in 3D • Look from inside the sphere 45
  • 46. Google StreetView in 3D • Look from inside the sphere 46 What is different? • Closer elements are closer and vice-versa • You can actually move in 3D • Real-time experience • Best viewed in VR, e.g. using Oculus Rift
  • 47. Summary of Google Maps & API for 3D • Pros: • StreetView together with Snap-to-Roads can provide a pseudo-realistic environment for accident playback • Cons: • StreetView is not available everywhere, images can be several years old and include large “censored” sections • Displaying StreetView in 3D is resource and bandwidth intensive, not applicable to every use-case • Quality of the resulting 3D image can vary, depending on location • Spatial data is embedded in map tiles and StreetView images. No way to extract roads, buildings, etc. as separate entities and display them in 3D • Conclusion • We need to include other sources of information to create appropriate 3D representation of the world 47
  • 48. Displaying Spatial Information in 3D • Beyond Google maps • If you need “true” spatial information (not images), like roads, buildings, rivers, trees, etc., you have look somewhere else • One option is OpenStreetMaps (OSM) – a database, consisting of: • Lines – roads, waterways, borders, fences, etc. • Polygons – buildings, parks, sports areas, industrial areas, etc. • Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc. • OSM data is available for everyone for free: • Whole planet with minutely updates: http://planet.openstreetmap.org/ • Various extracts, based on country / region: http://download.geofabrik.de/ • A number of open-source tools (and toolchains) exist to import this data into various formats (eg. PostGIS enabled Postgres database) 48
  • 49. OpenStreetMaps (OSM) • OSM – a database, consisting of: • Lines – roads, waterways, borders, fences, etc. • Polygons – buildings, parks, sports areas, industrial areas, etc. • Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc. • Standard usage of OSM data: • Download the data • Import into local database • Use a tool to render 2D map tiles • You have your own map-server  49
  • 50. OpenStreetMaps (OSM) • OSM – a database, consisting of: • Lines – roads, waterways, borders, fences, etc. • Polygons – buildings, parks, sports areas, industrial areas, etc. • Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc. • Standard usage of OSM data: • Download the data • Import into local database • Use a tool to render 2D map tiles • You have your own map-server  50
  • 52. OpenStreetMaps (OSM) • OSM – a database, consisting of: • Lines – roads, waterways, borders, fences, etc. • Polygons – buildings, parks, sports areas, industrial areas, etc. • Points – POIs (points of interest) like hospitals, coffee shops, bus stops, etc. • Our usage of OSM data: • Download the data • Import into local database • Create a data access layer, that extracts data as geometries based on given location • Use a 3D engine to draw these geometries in 3D space as shapes (lines, polygons, etc.) 52
  • 53. Our Usage of OSM 53
  • 54. Example: OSM B&W Style 2D Map 54
  • 55. Example: Same Place, Rendered in 3D 55
  • 56. Example: 2D vs 3D 56
  • 57. Putting it all Together 57
  • 58. Putting it all Together • What do we have: • Google StreetView in 2D and 3D • Map in 3D • OSM map tiles in 2D • What does it give is: • Car can be placed into a 3D environment, providing context of the surroundings at certain location • What is missing: • Actual accident details – car rotation, deformation of impacted zones, etc. (physics) 58
  • 60. Physics in Accident Reconstruction • Actual physics of a car is very complex, especially in non-deterministic situations like accidents • We would need to know the precise properties of every screw to create an appropriate physics model. • There are initial unknowns, e.g. impactor properties (imagine hitting a wall vs hitting a rabbit) that cannot be determined by telemetry alone • That does not mean we cannot approximate! • What can we determine, based on accelerometer and other sensors: • Car rotation • Approximate deformation of impacted zones 60
  • 61. Car Rotation 61 • Rotation of a car is defined by three rotation angles • Roll • Pitch • Yaw
  • 62. Car Rotation • Accelerometer data can be used to calculate roll and pitch • We can determine yaw using gyroscope and / or magnetometer 62Roll Pitch Yaw
  • 63. Car Rotation – Example 63
  • 64. Deformation of Impacted Zones • We rely on telemetry only • It is impossible to determine some factors (e.g. impactor surface area) without user feedback. • We are doing our best to provide adequate approximation based on telemetry data • What information do we posses: • Impact angle • Impact magnitude • How can we use that for deformation: • Adjust geometry of car 3D model – move polygon vertices accordingly • Use shaders to change color of the affected triangles 64
  • 65. Deformation of Impacted Zones - Example 65
  • 66. Video is Worth a Thousand Pictures  • Demo video 66
  • 67. Preface – Scope Technologies • We are hiring! • Overall requirements • Passionate, responsible and trustworthy team-player • Must want to make a difference, not just a regular worker • Fluently in English, REST, JSON and Object-Oriented development • Senior .NET developers • C# - 5 years of experience • Experience in HTML, JavaScript and ASP.NET • Fluently in SQL • Mobile developers • iOS and / or Android – 2 years of experience • Good UI design skills • Software testers • Experience in web, backend, web-service and mobile application testing • Contact: • charmaine@scopetechnology.com 67
  • 68. Thank You! • The important thing is not to stop questioning (Einstein) • Q & A ? 68