AR app for natural language AR experience creation via ChatGPT
Top 69.2% on sourcepulse
This project enables users to create augmented reality experiences using natural language commands, powered by ChatGPT. It's targeted at developers and researchers interested in AI-driven AR content creation, offering a novel approach to generating AR scenes through spoken prompts and custom APIs.
How It Works
ChatARKit leverages a custom JavaScript environment within an iOS app, powered by JavaScriptCore. Spoken commands are transcribed using Whisper, then sent to ChatGPT with a preamble describing available custom JavaScript functions (e.g., createEntity
, getPlanes
). ChatGPT generates JavaScript code to manipulate ARKit entities, which is then executed within the app. This approach allows for dynamic AR scene generation based on natural language, with Sketchfab integration for 3D assets.
Quick Start & Requirements
iOS/ChatARKit/ChatARKit.xcodeproj
and deploy to an iPhone.curl
command provided).APIKeys.swift
).APIKeys.swift
).Highlighted Details
Maintenance & Community
The project is a personal experiment by Bart Trzynadlowski. Further development and robustness improvements are encouraged via direct contact.
Licensing & Compatibility
The project is Copyright 2022-2023 Bart Trzynadlowski. Specific licensing details are not provided in the README, but it relies on other projects with their own licenses (whisper.cpp, GLTFSceneKit, Zip, pyChatGPT). Commercial use compatibility is not explicitly stated.
Limitations & Caveats
Performance is variable, with ChatGPT frequently generating incorrect code or referencing non-existent functions. Sketchfab model downloads and imports can fail, with no on-screen status updates. The project is described as an experiment, and users should examine generated code and monitor Xcode console logs for debugging.
2 years ago
1 week