Skip to content

Conversation

@PhotonLabs-VR
Copy link

No description provided.

@PhotonLabs-VR PhotonLabs-VR changed the title Add SDK Overview Add SDK Overview and Camera Stream Behavior and ICaptureFactory docs Nov 25, 2025
@dfgHiatus dfgHiatus self-assigned this Dec 2, 2025
@dfgHiatus dfgHiatus added documentation Improvements or additions to documentation enhancement New feature or request labels Dec 2, 2025
Copy link
Collaborator

@dfgHiatus dfgHiatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please omit the contents of your .vs, .yarn directories, as well as your .yarnrc.yml file. Thanks!


# Overview of Baballonia SDK

The Baballonia SDK provides developers with the tools and interfaces necessary to integrate eye-tracking and face-tracking capabilities into their applications. This SDK is designed to work seamlessly with the Baballonia software, allowing for easy access to processed tracking data and raw camera streams.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this statement isn't entirely false, it also isn't entirely true - the SDK exists to give developers the ability to add their own camera captures.

Say, you had an analog video source and you wanted to feed in into Baballonia. You would use the SDK for this.

- Allows developers to safely produce and consume frames across multiple threads
:::

This makes it possible for Baballonia to support:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This makes it possible for Baballonia to support:
Baballonia currently supports:


### **2. Capture Factories (Plugin System)**

The SDK includes the `ICaptureFactory` interface, which allows developers to create custom camera capture sources as plugins. By implementing this interface, developers can define how their specific camera hardware integrates with the Baballonia application.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would make more sense to introduce the Capture and ICaptureFactory together - one cannot exist without the other.


Baballonia's core application queries all registered factories to determine which one can handle a given camera address.

This plugin-based structure lets you extend Baballonia with new device support **without modifying the main application**.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
This plugin-based structure lets you extend Baballonia with new device support **without modifying the main application**.
This plugin-based structure lets you extend Baballonia with new device support _without modifying the main application_.

- V4L2 devices on Linux
- Custom or experimental capture sources

<h3><b><i>All through the same interface.</i></b></h3>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
<h3><b><i>All through the same interface.</i></b></h3>
_All through the same interface._


---

### **5. Software Extensibility**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this is a rehash of what has been already said? At this point as well we ought to provide a minimal example, say a Capture that grabs frames from Random Data, or an oscillating black/white frame.


### **Summary**

The Baballonia SDK provides a robust foundation for camera capture, frame handling, and tracking integration. Its abstraction layers and plugin-friendly architecture make it easy to extend Baballonia with new devices, add custom processing, or integrate tracking data into external applications.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, this summary feels redundant.

@@ -0,0 +1,19 @@
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this file, this has already been explained above and can be condensed.

@@ -0,0 +1,53 @@
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this file, this has already been explained above and can be condensed.

@PhotonLabs-VR
Copy link
Author

Updated Fork

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants