You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/software/SDK/Baballonia Overview.mdx
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,13 @@ sidebar_position: 1
7
7
8
8
The Baballonia SDK provides developers with the tools and interfaces necessary to integrate eye-tracking and face-tracking capabilities into applications. It works seamlessly with the Baballonia desktop software, giving access to processed tracking data as well as raw camera streams.
9
9
10
-
With the SDK, developers can build custom plugins, implement new capture sources, and develop integrations inside the Baballonia application—without modifying the core codebase.
`Capture` provides the framework that lets developers create their own camera capture sources. By extending the `Capture` class, you define exactly how your camera behaves and how it provides frames to Baballonia.
16
+
`Capture` provides the framework that lets developers create their own camera capture sources. By extending the `Capture` class, you define how your camera behaves and how it provides frames to Baballonia.
19
17
20
18
Baballonia currently supports:
21
19
@@ -26,18 +24,14 @@ Baballonia currently supports:
26
24
- V4L2 devices on Linux
27
25
- Custom or experimental capture sources
28
26
29
-
This system allows all of these devices to work through a unified interface inside of Baballonia.
Every custom camera backend must provide a corresponding `ICaptureFactory`. A factory tells Baballonia:
36
32
37
33
- Whether it can connect to a given camera address (`CanConnect`)
38
34
- How to construct the correct `Capture` implementation (`Create`)
39
35
- What provider name should appear in the UI and logs (`GetProviderName`)
40
36
41
-
Baballonia never instantiates `Capture` classes directly.
42
-
43
-
The capture system and the `ICaptureFactory` are inseparable: a `Capture` implementation cannot function without a corresponding factory, and a factory has no purpose without a `Capture` implementation.
37
+
The capture system and the factory work together: a `Capture` implementation requires an `ICaptureFactory`, and a factory has no purpose without its corresponding `Capture` implementation.
0 commit comments