Intro to Guru Schemas
An introduction to Guru Schemas
A Guru Schema is a Javascript class that allows you to tell the Guru AI platform how to process your video. Once you write a Guru Schema, you can run the same schema in the cloud and on mobile.
You can create a new Guru Schema from the Guru Console. We recommend starting from a template to get up and running faster.
Overview
The class holds three Javascript functions that each handle a separate component of AI video analysis:
For example, Guru will call your processFrame
function for individual frames within the video. It will then
call your renderFrame
for each frame, so that you can visualize the output of processFrame
.
The response from outputs
will be returned to your application as the final analysis for the video.
Reference
You can dive deeper in our Guru Schema Reference or go through an example.