26
Globalcode – Open4education Trilha .NET André Carlucci Diretor de Tecnologia – Way2 Microsoft MVP Controlando Windows Like a Boss com Intel RealSense Sdk

Controlando windows like a boss com Intel Real Sense SDK

Embed Size (px)

DESCRIPTION

Aprenda como controlar o Windows programaticamente com RealSense SDK, adicionando um controle natural e intuitivo a qualquer aplicação de sua máquina.

Citation preview

Page 1: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Trilha .NET

André Carlucci

Diretor de Tecnologia – Way2Microsoft MVP

Controlando Windows Like a Boss com Intel RealSense Sdk

Page 2: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Page 3: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Page 4: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Page 5: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Intel Perceptual 3d Camera

30fps 720p Camera60fps IR 320x240FOV 73 graus

Page 6: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Intel RealSense 3d Camera

30fps 1080p Camera60fps IR 640x480FOV 85 graus

Page 7: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Intel Software Day 2013…

Page 8: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

WPF App SignalR Javascript

Page 9: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

WPF App SignalR Javascript

Page 10: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

WPF App SignalRChrome Plugin

Page 11: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

WPF App

Control Windows!

Page 12: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

One app to rule them all!

Page 13: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

SharpPerceptual

https://github.com/andrecarlucci/SharpPerceptual

Install-Package SharpPerceptual

Page 14: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

SharpSenses

https://github.com/andrecarlucci/SharpSenses

Install-Package SharpSenses

Page 15: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

var cam = new Camera();cam.Start();cam.LeftHand.Visible += () => { Console.WriteLine("Hello");}cam.RightHand.Moved += m => { Console.WriteLine("-> x:{0} y:{1}", m.Image.X, m.Image.Y);}

SharpSenses

Page 16: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

var punch = new Gesture();punch.AddStep(800, Movement.Forward(leftHand, 20));punch.GestureDetected += Hand => { Console.WriteLine("Super Punch!");};punch.Activate();

SharpSenses

Page 17: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

DEMO! 2048Demo!

Page 18: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Windows API

Base Serviceskernel32.dll

Advanced Services

advapi32.dll

Graphicswin32k.sys

User Interfaceuser32.dll

Common Dialog

comdlg32.dll

Common Control

commctrl.dll

Windows Shellshell32.dll

Network Services

netapi32.dll

Page 19: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Marshaling service

managed unmanaged

P/Invoke!

Page 20: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

[DllImport("user32.dll")]public static extern int SetCursorPos(int x, int y);

P/Invoke!

Page 21: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

https://github.com/andrecarlucci/MrWindows

Install-Package MrWindows

MrWindows

Page 22: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

var win = new Windows();win.Keyboard.TypeTogether(VirtualKey.Control,

VirtualKey.Alt, VirtualKey.Delete);

win.Mouse.MouseLeftClick();

MrWindows

Page 23: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

DEMO!

Page 24: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Mas e o Trello?

Page 25: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

Obrigado!

André Carlucci

Diretor de Tecnologia – Way2Microsoft MVP@andrecarlucci

Page 26: Controlando windows like a boss com Intel Real Sense SDK

Globalcode – Open4education

https://way2.recruiterbox.com/