Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Controlando o windows like a boss com o Intel RealSense SDK

596 views

Published on

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

Published in: Software
  • Be the first to comment

Controlando o windows like a boss com o Intel RealSense SDK

  1. 1. Controlando o Windows like a boss com o Intel RealSense SDK André Carlucci
  2. 2. Controlando o Windows like a boss com o Intel Perceptual Computing SDK André Carlucci
  3. 3. Intel 3d Camera 30fps 720p Camera 60fps IR 320x240 Dual-array Mic
  4. 4. Intel Software Day 2013…
  5. 5. WPF App SignalR Javascript
  6. 6. WPF App SignalR Javascript
  7. 7. WPF App SignalR Chrome Plugin
  8. 8. Control Windows! WPF App
  9. 9. One app to rule them all!
  10. 10. SharpPerceptual https://github.com/andrecarlucci/SharpPerceptual Install-Package SharpPerceptual
  11. 11. 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); }
  12. 12. SharpPerceptual var gesture = new CustomGesture(camera.RightHand); gesture.AddMovement(Movement.Forward(10, 500)); gesture.GestureDetected += () => { Console.WriteLine("Punch!"); }
  13. 13. DEMO! 2048
  14. 14. 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
  15. 15. P/Invoke! Marshaling service managed unmanaged
  16. 16. 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
  17. 17. P/Invoke! [DllImport("user32.dll")] public static extern int SetCursorPos(int x, int y);
  18. 18. MrWindows https://github.com/andrecarlucci/MrWindows Install-Package MrWindows
  19. 19. MrWindows var win = new Windows(); win.Keyboard.TypeTogether(VirtualKey.Control, VirtualKey.Alt, VirtualKey.Delete); win.Mouse.MouseLeftClick();
  20. 20. DEMO!
  21. 21. The Lock Screen
  22. 22. Windows Credential Provider • Customiza o logon no Windows • Entrou no lugar do GINA (Graphical Identification and Authentication) • C++
  23. 23. pGina http://pgina.org/
  24. 24. pGina Architecture
  25. 25. Mas e o Trello?
  26. 26. Perguntas? André Carlucci @andrecarlucci www.andrecarlucci.com
  27. 27. 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
  28. 28. Obrigado! André Carlucci @andrecarlucci www.andrecarlucci.com

×