9/11/2018 8:45:57 AM
eBay launches HeadGaze so you can use head movements to navigate
eBay,Head Tracking,iPhone X
https://appdevelopermagazine.com/images/news_images/eBay-Launches-HeadGaze-App-Developer-Magazine_yri5ga6k.jpg
App Developer Magazine

eBay launches HeadGaze so you can use head movements to navigate



Richard Harris Richard Harris in iOS Tuesday, September 11, 2018
1,947

HeadGaze from eBay tracks your head movements so you can use your iPhone X mobile device without using your hands.

eBay has announced a new technological innovation coming out of its Computer Vision team that they hope will transform the way users can physically navigate through different applications. It's called HeadGaze and it uses Apple’s ARKit and the iPhone X camera to track your head motion so you can navigate your phone easily without using your hands.

Starting now, the first of its kind technology is available via open source on GitHub.com. Similar to how a mouse navigates the cursor on a desktop, this design lets you point to any location on the screen with your head and activate designated “buttons”. The technology’s design allows developers to easily integrate our features into their existing or future apps with minimum code change.

The HeadGazeLib is a pure Swift library to empower iOS app control through head gaze without a finger touch. They say any iOS developer can use it to introduce head-based control into their apps, which is ideal for accessibility and game control. The library is dependent on iPhone X, iOS 11, and Swift 4.

There is demo code also available in the GitHub repository that includes and app called HeadSwipe, which lets you swipe daily deals on eBay with nothing more than your head control.

eBay is releasing their new open source technology, which has possible implications for a number of industries, and potential health and wellness benefits as well. HeadGaze was developed by eBay’s Computer Vision innovation team, and inspired by insights and work from eBay’s Muratcan Cicek, an intern living with extensive motor impairments who has personal experience with assistive technology through his course work pursuing a PhD. eBay’s culture of open innovation fueled this advancement and will also propel it to the next level through partners helping us to make the capabilities of the technology even greater.

Below is an example of the markup use:

class MyViewController: UIHeadGazeViewController{
//.....
  private var headGazeRecognizer: UIHeadGazeRecognizer? = nil

  override func viewDidLoad() {
    super.viewDidLoad()
    setupGestureRecognizer()
  }
  private func setupGestureRecognizer() {
    // add head gaze recognizer to handle head gaze event
    self.headGazeRecognizer = UIHeadGazeRecognizer()
    super.virtualCursorView?.smoothness = 9
    super.virtualCursorView?.addGestureRecognizer(headGazeRecognizer)
    self.headGazeRecognizer?.move = { [weak self] gaze in

        self?.buttonAction(button: (self?.myButton)!, gaze: gaze)

    }
  }
  private func buttonAction(button: UIButton, gaze: UIHeadGaze){
    guard let button = button as? UIHoverableButton else { return }
    button.hover(gaze: gaze)
  }
//....
}



100 Questions and Answers to help you land your Dream iOS Job: or to hire the right candidate!

This guide titled, "100 Questions and Answers to help you land your Dream iOS Job" can help you through some further questions related to landing a job related to iOS. With 100 Questions and Answers categorized by seniority and with reviews from some of the top iOS engineers worldwide, this book will level up how you make interviews for your favorite platform.

A new way to manage your development projects

Learn the best ways to organize your app development projects, and keep code straight, clients happy, and breathe a easier through launches.
 

The Latest Nerd Ranch Guide (3rd Edition) to Android Programming

Write and run code every step of the way, using Android Studio to create apps that integrate with other apps, download and display pictures from the web, play sounds, and more. Each chapter and app has been designed and tested to provide the knowledge and experience you need to get started in Android development.

Starting your own app business?

How to create a profitable, sustainable business developing and marketing mobile apps.



Comments

There are no comments yet, be the first to leave your remarks.

Leave a Reply