DEV Community

Aje Oluwaseun Isaac
Aje Oluwaseun Isaac

Posted on Edited on AI-assisted

Glimra — Control without a touch

Presage SmartSpectra SDK Challenge Submission

What I Built

Glimra — Control without a touch.

Glimra is a desktop application that lets you present a PDF using deliberate head movements, built with the Presage SmartSpectra SDK.

Open a document, enable camera control, position yourself, and wait for tracking to become ready. Gentle head turns navigate between pages. Up-and-down movements scroll the current page when there is additional content to see.

I wanted to make presentation control more flexible. Teachers, speakers, trainers, and students can use hands-free navigation to stay focused on what they are explaining. For some people with limited hand mobility, it could also provide another way to interact with presentation material.

Keyboard and mouse controls remain available, so using the camera is a choice.

The problem

Changing a slide usually requires reaching for a keyboard, mouse, or presentation clicker.

For some presenters, this interrupts an explanation. For others, operating those controls can be difficult. A hands-free option is worth exploring for both everyday convenience and more accessible interaction.

Glimra focuses on a specific task: controlling a local PDF presentation with intentional movement.

It does not attempt to replace every computer input method. It gives presenters another option within a familiar workflow.

Research behind the idea

I investigated existing work on accessibility and head-controlled computer interaction to understand the problem beyond my own experience.

The World Health Organization estimates that approximately 1.3 billion people experience significant disability. This provides context for the importance of accessible technology. It does not represent Glimra’s potential user base. who.int

A particularly relevant study is Tracking and Classification of Head Movement for Augmentative and Alternative Communication Systems, published in Sensors in 2022.

The researchers investigated using a conventional webcam to recognize purposeful head movements for computer interaction. They also reported difficulties interpreting movement from participants with substantial involuntary movements. That limitation matters: head control should be evaluated for the individual, rather than assumed to work equally well for everyone. mdpi.com

This research supports investigating the interaction method. Glimra’s own recordings and tests provide the evidence for what this particular implementation currently does.

The sources, implementation scope, and remaining validation work are documented in Research & Validation.

What is available today

Feature Current status
Open and present local PDFs Implemented
Head-controlled page navigation and scrolling Demonstrated on Windows
Keyboard and mouse navigation Available
Light and dark themes Available
In-app Guide and Settings Available
Visible camera and tracking status Available
Optional eye-blink controls Integrated, but still awaiting real-camera acceptance
Windows installer Available as an unsigned build
Ubuntu AppImage Available; packaged camera operation still needs hardware verification

The working demonstration focuses on Head mode. I am keeping optional Eyes mode separate from the features already demonstrated on hardware.

Demo

Watch the updated Glimra walkthrough and live demonstration on YouTube.

The video combines the setup walkthrough with footage of me demonstrating the application and a desktop recording showing its response.

Testing in different lighting conditions

I recorded a Windows session using two cameras: a phone showing me and a desktop recording showing Glimra.

I tried three conditions:

Condition What I observed
Room light on I could demonstrate head-controlled navigation with my face clearly lit.
Room light off, curtain open Daylight kept my face visible, and I observed continued control.
Room light off, curtain closed I observed some continued control, but the response felt less consistent.

These are observations from one presenter and one setup, rather than a controlled performance study.

Room light on

Glimra room-light test, with the presenter beside the desktop application

The room-light recording provides a view of the presenter alongside the PDF presentation.

Daylight, with the room light off

Glimra daylight test, showing a clearer presenter frame beside the desktop application

With the curtain open, daylight remained available even though the room light was off. I observed that the controls continued to work in this setup.

Low light, with the curtain closed

Glimra low-light test, with the presenter beside a desktop frame showing Presage head ready

Closing the curtain reduced the available light. The selected desktop frame shows Presage head ready, but another point in this part of the recording showed Paused. This does not establish uninterrupted low-light tracking.

How to interpret these images: the phone and desktop frames are paired at approximately matching source times. They have not been precisely synchronized, so the stills illustrate the conditions rather than prove that a particular head movement caused a particular screen action.

Room lights being off also does not mean complete darkness. Screen light and other residual light may remain.

The full lighting observations explain the source ranges and limitations.

Evidence that live SDK data was received

The repository’s November 9 hardware diagnostic report records:

Diagnostic measurement Recorded result
Decoded SmartSpectra metrics packets 487
Stable facial-landmark packets 416
Points per stable landmark packet 478
Valid quality checks 566
Low-FPS warnings during that diagnostic 0
SDK errors during that diagnostic 0

These results document live SDK data in that session. They are not a gesture-accuracy percentage, and they do not establish reliability across different users, cameras, or environments.

The same diagnostic recorded no detected blink starts, which is why I have not described Eyes mode as hardware verified.

Code

The project is released under the MIT License.

How to try Glimra

You need a compatible desktop computer, a webcam, a PDF, and a valid Presage API key with access to the required SDK functionality.

The Windows application is the platform demonstrated in the video. Ubuntu packaging is available, but its packaged camera workflow still needs real-device verification.

Download artifacts currently require GitHub sign-in. The Windows installer is unsigned, so Windows or the browser may display a publisher or download warning. If you are uncomfortable installing it, you can review the source and watch the demonstration.

Step-by-step walkthrough

1. Open Glimra and read the Guide

The initial screen displays Your stage is ready.

Open Guide to read How Glimra works. It explains the control modes, PDF scrolling, and keyboard alternatives. Close the Guide when you are ready.

2. Configure Settings

Open Settings, enter your Presage API key, and select Head mode for the demonstrated workflow.

Keep the key private. Mask it in screenshots, recordings, and public posts.

3. Load your presentation

Click Open presentation and select a PDF. You can also use the repository’s sample presentation.

Check that the document is visible before enabling hands-free control.

4. Enable camera control

Open the camera setup from Hands-free off or Set up camera.

Follow Connect camera, then choose Enable camera control in the consent dialog.

5. Position yourself and wait for readiness

Keep one presenter in view, with the face visible to the camera. Wait for the tracking-ready status before making a gesture.

Use Recenter if the resting position needs adjusting.

6. Navigate deliberately

Make a gentle left or right head turn to navigate between pages. Return to a comfortable resting position before the next command.

Up-and-down movements scroll the current page when content extends beyond the visible area. If the whole page already fits on screen, there may be nothing to scroll. Use Fit width or zoom when needed.

7. Pause or disconnect

Pause stops gesture commands while camera capture remains active.

Use Disconnect camera when you want to stop the capture session. Keyboard and mouse controls remain available.

Run from source

The repository specifies Node.js 22.12 or newer and npm.

git clone https://github.com/0xaje/Glimra.git
cd Glimra
npm ci
npm run dev
Enter fullscreen mode Exit fullscreen mode

Then follow the setup steps above.

Development checks are available through:

npm run build
npm test
npm run lint:hallmark
Enter fullscreen mode Exit fullscreen mode

Automated checks help verify the implementation, but physical-camera testing remains necessary.

How It Responds to Human Signals

Glimra uses live facial landmarks from the Presage SmartSpectra SDK as the input for Head mode.

The integration turns those samples into presentation commands through several stages.

1. Start a consented native camera session

After the user explicitly enables camera control, a native worker starts the SmartSpectra session in a separate Node process.

The worker receives live SDK measurements.

Native SmartSpectra integration

2. Interpret deliberate movement

The head-motion detector compares stable landmark samples with a resting position.

It interprets movement into directional commands and rearms after the presenter returns toward rest. This helps prevent a held turn from repeatedly advancing the presentation.

Head movement detector

3. Send commands to the presentation

The Electron bridge passes derived gesture events and tracking status to the renderer.

The presentation controller routes accepted commands to page navigation or scrolling. PDF.js renders the document locally.

Presentation controller

4. Keep tracking state visible

The application displays camera and tracking status so the presenter can see whether control is ready or needs attention.

This feedback matters because connecting a camera and having a usable tracking signal are different stages.

Optional Eyes mode

Eyes mode uses the SDK’s blink-detection signal, with deliberate long-blink and double-blink interactions.

It remains an option awaiting real-camera acceptance. The demonstrated and currently supported evidence in this submission concerns Head mode.

What I want to validate next

The next tests should measure:

  • Intended commands attempted and correctly recognized.
  • Unintended page changes.
  • Gesture-to-action response time.
  • Camera distance and lighting.
  • Presenter handoff and tracking recovery.
  • Repeated sessions across more users and cameras.
  • Genuine blink recognition in Eyes mode.

I also want usability feedback from people with different access needs. My own successful demonstration cannot establish suitability for those users.

Longer-term work includes broader platform verification and investigating mobile support.

Prize Categories

Best Thoughtful Real-World Use

Glimra addresses a practical interaction problem: controlling presentation material without repeatedly reaching for physical controls.

The intended audience includes teachers, speakers, trainers, students, and people who find conventional controls difficult to operate.

The design includes a readable setup guide, explicit camera consent, visible tracking status, light and dark themes, and keyboard alternatives.

Accessibility motivates the work, while individual usability still needs testing. I want people to have more choice in how they present.

Most Creative or Delightful Use

Glimra turns live facial-landmark information into a presentation input.

The interaction is simple to understand: make an intentional head movement and see the document respond. Returning to rest prepares the next command.

I wanted that interaction to fit around the presentation, allowing the speaker to keep explaining while controlling the document.

Consent and Data Handling

Camera consent

Glimra requires the user to explicitly choose Enable camera control before starting its SmartSpectra camera session.

The presentation remains usable with keyboard and mouse while the camera is disconnected.

Pause stops gesture commands but keeps camera acquisition active. Disconnect camera or closing the application requests capture shutdown and camera release.

Camera frames and derived signals

Camera frames are processed locally by the native SmartSpectra SDK.

Glimra does not record, upload, save, or share camera footage or facial landmarks. Its React interface does not receive raw camera frames or landmark arrays.

Derived information—including gesture direction, tracking status, quality hints, and aggregate sample counts—is held in process memory rather than a stored user-history database.

PDF documents

PDFs are loaded and rendered locally. Glimra does not upload or retain their contents.

API keys and preferences

If the user saves a Presage API key, Glimra uses Electron’s OS-backed secure storage where supported. It refuses to persist the key unencrypted when a suitable OS-backed storage mechanism is unavailable.

The key is not placed in browser local storage, application logs, or the repository. Users can clear it through Settings.

Non-sensitive preferences, such as theme and control mode, may remain in local application storage until cleared.

Network access and SDK telemetry

Glimra configures the SDK with telemetry disabled.

Presage authentication, metering, and entitlement checks may still require network access. Local camera processing does not mean the application is completely offline.

Presage’s handling of its own service data is governed by its documentation and policies.

Audio, AI services, and retention

Glimra does not request microphone access or integrate a cloud AI service into its presentation workflow. Slide chimes are generated locally.

Live measurements are transient. The saved key remains until cleared, while preferences remain until application data is removed.

Glimra is a presentation-control application. It makes no diagnosis or treatment claims and is not intended for medical decisions or covert monitoring.

The implementation details and remaining security-verification items are documented in the full camera consent and data handling disclosure.

Top comments (14)

Collapse
 
finisher profile image
Finisher •

Great concept, love to see innovative ideas

Collapse
 
greater_glory20 profile image
A girl has no name •

A worthy addition

Collapse
 
0xaje profile image
Aje Oluwaseun Isaac •

thanks

Collapse
 
yrtiw profile image
virus •

Thx is topnotch

Collapse
 
0xaje profile image
Aje Oluwaseun Isaac •

thanks champ

Collapse
 
sopskistar profile image
JULIE •

Wow, I love the idea. This will be very useful for student doing presentation

Collapse
 
0xaje profile image
Aje Oluwaseun Isaac •

thanks champ

Collapse
 
nadinev profile image
Nadine •

This is genius!

Collapse
 
0xaje profile image
Aje Oluwaseun Isaac •

thanks Champ

Collapse
 
tushar_shah profile image
tushar shah •

Hey! The idea looks good but can you add some facts of the research so it would add more weightage!

Collapse
 
0xaje profile image
Aje Oluwaseun Isaac •

Thanks for the feedback. That's a great suggestion. I'll be adding research findings and supporting sources to show the problem Glimra addresses and the technology behind it. I appreciate you pointing that out!

Collapse
 
0xaje profile image
Aje Oluwaseun Isaac •

Hi , thank you for your earlier review. I’ve made some updates based on your feedback. Could you please take another look?

Collapse
 
0xdeeno profile image
Deeno •

Honestly, I love the concept, can you please support my entry

Collapse
 
lahd profile image
Joel Adeleye •

this is a solid build man, wish you the best