The C++ SDK is a tool available as part of the Gemini Enterprise Agent Platform Vision SDK. You can use the C++ SDK to programmatically manage, control, and perform different forms of I/O with Gemini Enterprise Agent Platform Vision.
This page describes how to use the C++ SDK to build and test.
Before you begin
- Complete the steps to set up your Google Cloud project.
- Review system requirements before trying to use the C++ SDK.
Get the Gemini Enterprise Agent Platform Vision SDK source code from the publicly available GitHub repository:
git clone https://github.com/google/visionai.gitThe C++ public SDK is located in
visionai/public/streams.h. For reference information, see the reference documentation.Install any system dependencies you might need.
Use the create streams and ingest data topic to create stream resources to use in the following code samples.
Build and test programs
The following example shows you how to use the C++ programming SDK to build
your own programs. The sample shows this process directly by walking through
an example for sending and receiving Packets.
These instructions show you how to build two simple programs. The first program sends messages at regular intervals, while the second program receives the messages that the first program sends. You can use these programs as a starting point to build your own custom applications with the C++ SDK.
Go to the root of the source code directory.
The contents of the directory resemble the following:
bazel BUILD CONTRIBUTING.md debian