Skip to content

Snapchat/Spectacles-Sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spectacles Templates

A comprehensive collection of templates and examples for building Lens experiences on Spectacles.

spectacles-2024-hero

What you'll find here

This repository contains multiple template projects showcasing different features and capabilities available when building for Spectacles. Each template is a complete, working example that you can use as a starting point for your own projects.

AI

AI-powered experiences and integrations

ai-playground

AI Playground

Sample project for AI in using Spectacles Remote Service Gateway.

crop

Crop

Sample project showing how to "crop" the environment using hand gesture.

depth-cache

Depth Cache

Cache depth frames for pixel-to-3D projection with cloud-based vision models.

Getting Started

Essential projects to get you started with Spectacles development

fetch

Fetch

Sample project using the Spectacles Fetch API.

essentials

Essentials

Collection of foundational concepts for creating lenses in Lens Studio.

material-library

Material Library

Experimental project collecting Materials tested on Spectacles.

public-speaker

Public Speaker

Teleprompter lens for public speaking practice and presentation delivery.

spatial-image-gallery

Spatial Image Gallery

Convert your 2D images to 3D.

throw-lab

Throw Lab

Sample project demonstrating realistic throwing mechanics in AR.

spatial-persistence

Spatial Persistence

Template project using Spectacles Spatial Anchor API.

voice-playback

Voice Playback

Sample project for recording and playing back audio on Spectacles.

path-pioneer

Path Pioneer

Sample project for path creation and path walking experience.

SnapML

Machine learning projects using SnapML

snapml-starter

SnapML Starter

Demonstrates how to leverage SnapML on Spectacles for object detection using custom machine learning models.

snapml-chess-hints

SnapML Chess Hints

AI-powered chess move suggestions using computer vision and SnapML to detect pieces and provide intelligent assistance.

snapml-pool

SnapML Pool

Uses SnapML to detect a pool table with all 16 balls and pocket holes.

Navigation

Location-based and navigation experiences

custom-locations

Custom Locations

Map real life areas and create AR experiences around those locations.

outdoor-navigation

Outdoor Navigation

Outdoor navigation system using Map Component and Places API.

navigation-kit

Navigation Kit

An example project for indoors or outdoors navigation.

Connected Lenses

Multi-user collaborative experiences

shared-sync-controls

Shared Sync Controls

Real-time collaborative AR experience for shared controls.

tic-tac-toe

Tic Tac Toe

Sample Connected Lens project using Spectacles Sync Kit.

laser-pointer

Laser Pointer

Create laser pointers on a virtual object that are visible to all connected users.

high-five

High Five

Real-time collaborative AR experience for high-five interactions.

air-hockey

Air Hockey

Sample Connected Lens project using Spectacles Sync Kit.

BLE (Bluetooth Low Energy)

Bluetooth Low Energy connectivity projects

ble-arduino

BLE Arduino

Arduino board with an IMU sending euler angles from Arduino to Spectacles via BLE.

ble-playground

BLE Playground

General BLE playground for experimenting with Bluetooth Low Energy features on Spectacles.

Additional Resources

Getting Started

  1. Clone this repository
  2. Open any project folder in Lens Studio
  3. Explore the templates and start building!

Contributing

We welcome contributions! Please read our contributing guidelines and feel free to submit pull requests or open issues.


Built with 👻 by the Spectacles team

About

Spectacles Sample Projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published