CognitiveXR Clients
This repository collects links to clients and client SDKs for the cognitivexr-platform.
Unity
TODO: link
- CPOP
- CogStream
Python
-
Interactive CogStream desktop client
Client to interact with the mediator to start engines and stream the connected camera. Useful for debugging and developing. Navigate into
cogstream/clients/python
, create a virtual environment and install the requirements. With the mediator running you can then runpython -m interactive.main
and you should see something like this:% python -m interactive.main 0: EngineSpec(name='debug', attributes={'format.colorMode': ['0'], 'format.height': ['0'], 'format.width': ['0']}) 1: EngineSpec(name='fermx', attributes={'format.colorMode': ['0'], 'format.height': ['0'], 'format.width': ['0']}) 2: EngineSpec(name='yolov5', attributes={'format.colorMode': ['0'], 'format.height': ['0'], 'format.width': ['0']}) which engine do you want to use?:
Once an engine is selected, the client will attempt to stream the currently connected camera to the engine.
-
CogStream engine client library
Part of the cogstream python framework. Some of the python engines also come with an engine client for debugging, that demonstrates how the engine client library can be used. Here is one example: https://github.com/cognitivexr/CogStream/blob/main/engines/engines-py/fermx/fermx/client.py