If your local machines doesn't meet the requirements for native installation we also offer Docker Containers as a deployment option.
Installing C++ SDK
If you are installing Python SDK, please refer to this section.
Download C++ SDK
Go to the Console and navigate to MANAGE AI MODELS. For the model you want to deploy, select the SDK you have build for your target platform.
If you have not build an SDK yet, refer to Build SDK section of the documentation.
Click on the icon left side of the platform to copy the downlooad link.
Click on the target platform for the model to download.
Install C++ SDK
Install using downloaded SDK file
Unzip the downloaded SDK.
'cd' into the unzipped SDK folder.
Add this line in bashrc to avoid configuring everytime you login using shell.
Go to script directory
Run xailient-install script
Go back to root xailient directory
Xailient SDK contents
(env) $ ls
- bin/ -- Executables required for initial registration
- data/ -- Image files you can use with the sample applications
- samples/ -- Sample application demonstrating how the Xailient SDK library can be used
- scripts/ -- Installation script to install xailient-agent
- example/ -- Sample applications demonstrating how the Xailient Face Detector library can be used
- lib/ -- Xailient detector shared Library
- include/ -- Header files to include in your application
Run sample code
Go to samples folder. This folder contains a sample script named "image_ref" that demonstrates how to use the xailient sdk.
The script reads an image named "beatles.jpg" from data folder, runs the detection sdk on this image and saves output to "output/output.jpg".
Now run the sample script.
(env) $ cd example (env) $ mkdir output (env) $ ./image_ref -f ../data/beatles.jpg (env) $ file output/output.jpg
'output/output.jpg' will contain any predicted bounding boxes drawn. '../data/beatles.jpg' is useful for showing the results of an SDK trained to do face detection. So if you don't see any bounding boxes drawn then try running './image_ref -f <<
|Input Image||Output Image|