際際滷

際際滷Share a Scribd company logo
Controlando o Windows 
like a boss com o Intel 
RealSense SDK 
Andr辿 Carlucci
Controlando o Windows like 
a boss com o Intel 
Perceptual Computing SDK 
Andr辿 Carlucci
Controlando o windows like a boss com o Intel RealSense SDK
Controlando o windows like a boss com o Intel RealSense SDK
Controlando o windows like a boss com o Intel RealSense SDK
Intel 3d Camera 
30fps 720p Camera 
60fps IR 320x240 
Dual-array Mic
Intel Software Day 2013
WPF App SignalR Javascript
WPF App SignalR Javascript
WPF App SignalR 
Chrome 
Plugin
Control Windows! 
WPF App
One app to rule them all!
SharpPerceptual 
https://github.com/andrecarlucci/SharpPerceptual 
Install-Package SharpPerceptual
SharpPerceptual 
var cam = new Camera(); 
cam.Start(); 
cam.LeftHand.Visible += () => { 
Console.WriteLine("Hello"); 
} 
cam.RightHand.Moved += m => { 
Console.WriteLine("-> x:{0} y:{1}", m.X, m.Y); 
}
SharpPerceptual 
var gesture = new CustomGesture(camera.RightHand); 
gesture.AddMovement(Movement.Forward(10, 500)); 
gesture.GestureDetected += () => { 
Console.WriteLine("Punch!"); 
}
DEMO! 2048
Windows API 
Base Services 
kernel32.dll 
Advanced 
Services 
advapi32.dll 
Graphics 
win32k.sys 
User Interface 
user32.dll 
Common 
Dialog 
comdlg32.dll 
Common 
Control 
commctrl.dll 
Windows Shell 
shell32.dll 
Network 
Services 
netapi32.dll
P/Invoke! 
Marshaling 
service 
managed unmanaged
P/Invoke! 
1. Encontra a dll 
2. Carrega na mem坦ria (caso n達o esteja) 
3. Encontra o endere巽o da fun巽達o e envia os 
argumentos 
4. Trasfere o controle para fun巽達o
P/Invoke! 
[DllImport("user32.dll")] 
public static extern int SetCursorPos(int x, int y);
MrWindows 
https://github.com/andrecarlucci/MrWindows 
Install-Package MrWindows
MrWindows 
var win = new Windows(); 
win.Keyboard.TypeTogether(VirtualKey.Control, 
VirtualKey.Alt, 
VirtualKey.Delete); 
win.Mouse.MouseLeftClick();
DEMO!
The Lock Screen
Windows Credential Provider 
 Customiza o logon no Windows 
 Entrou no lugar do GINA (Graphical Identification 
and Authentication) 
 C++
pGina 
http://pgina.org/
pGina Architecture
Mas e o Trello?
Perguntas? 
Andr辿 Carlucci 
@andrecarlucci 
www.andrecarlucci.com
Pr坦ximas palestras 
 14:05 - Intel RealSense SDK Felipe Pedroso 
 14:55 - Utilizando o padr達o MVVM em Universal 
Apps - Ricardo Dorta 
 16:10 - Tecnologia de Games 3D em 
Windows Fabr鱈cio Catae
Obrigado! 
Andr辿 Carlucci 
@andrecarlucci 
www.andrecarlucci.com

More Related Content

Controlando o windows like a boss com o Intel RealSense SDK

Editor's Notes

  • #18: Base: file system, devices, threads Advanced: registro, shutdown, restart, services Graphics: direto com o driver de video User Interface: windows, botoes, mouse e teclado Common Dialog: Dialog boxes para abrir e salvar arquivos, escolher fontes, etc Common Control: Status bars, progress bars, toolbars Windows Shell: acessar o shell Network Services: rede