Core components of the TrackPlay computer vision system for augmented reality applications.
- ArUco marker detection and tracking
- Real-time video processing
- Perspective transformations
- Image overlays with alpha channel support
- Color object detection
- Box drawing with blur effects
- Metal rendering framework integration
The core of the project is the CVDetection class that provides:
- Marker detection with
processArucofamily of methods - Frame overlapping with
Overlap_FramesandOverlap_Frames_With_Alpha - Color detection with
detectColorObjects - Utility functions for drawing, transformation and image manipulation
The application uses SwiftUI for the user interface, providing:
- Camera integration
- Live image processing display
- Controls for adjusting parameters
- Visual tools for working with augmented reality content
- Xcode 13.0+
- iOS 15.0+ / macOS 12.0+
- Swift 5.5+
- OpenCV 4.x (not included in this repository due to size constraints)
- Metal-compatible device
- Clone this repository
- You'll need to add the OpenCV framework (opencv2.framework) to the project
- Configure the project to use the framework
- Build and run the application
This repository does not include the OpenCV framework binary files due to GitHub file size limits. You'll need to download OpenCV separately and add it to your project.
Copyright © 2021-2024 Nelson Suarez Arteaga