Skip to content

osV22/Spatial-Vacuum

Repository files navigation

Spatial Vacuum

Collect coins while cleaning ya room...

appstore-badge

Note: Entire project is under "Spatial Sweeper" because I was not thinking of releasing the app.

VisionVacuumDemo.mp4

Maintenance Notes

  • Some real vacuum handles may cause erratic behavior with the hand tracking if a portion of your hand is obscured by the handle.
    • As a result, the scoreboard is attached to your head when opting to use a 'Real' vacuum.
  • To see visualize hand position and direction:
// on updateFrame

let handViz = getVisualizedBox(name: "hand", color: .red, size: 0.02)
handViz.transform = transform
            
let handDirection = getVisualizedBox(name: "handDirection", color: .yellow, size: 0.02, parent: handViz)
handDirection.position = .init(x: -1.0, y: 0.0, z: 0.0)

Credits

Contribute

  • Please do contribute! Issues and pull requests are welcomed.
  • Thanks in advance for all efforts!
  • Please keep in mind reviews may take time, so patience is appreciated.