You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.8 KiB
62 lines
2.8 KiB
//=============================================================================================================================
|
|
//
|
|
// EasyAR Sense 3.1.0-final-7bf6504c6
|
|
// Copyright (c) 2015-2020 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved.
|
|
// EasyAR is the registered trademark or trademark of VisionStar Information Technology (Shanghai) Co., Ltd in China
|
|
// and other countries for the augmented reality technology developed by VisionStar Information Technology (Shanghai) Co., Ltd.
|
|
//
|
|
//=============================================================================================================================
|
|
|
|
#ifndef __EASYAR_CLOUD_H__
|
|
#define __EASYAR_CLOUD_H__
|
|
|
|
#include "easyar/types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/// <summary>
|
|
/// Returns true.
|
|
/// </summary>
|
|
bool easyar_CloudRecognizer_isAvailable(void);
|
|
/// <summary>
|
|
/// `InputFrame`_ input port. Raw image and timestamp are essential.
|
|
/// </summary>
|
|
void easyar_CloudRecognizer_inputFrameSink(easyar_CloudRecognizer * This, /* OUT */ easyar_InputFrameSink * * Return);
|
|
/// <summary>
|
|
/// Camera buffers occupied in this component.
|
|
/// </summary>
|
|
int easyar_CloudRecognizer_bufferRequirement(easyar_CloudRecognizer * This);
|
|
/// <summary>
|
|
/// Creates an instance and connects to the server.
|
|
/// </summary>
|
|
void easyar_CloudRecognizer_create(easyar_String * cloudRecognitionServiceServerAddress, easyar_String * apiKey, easyar_String * apiSecret, easyar_String * cloudRecognitionServiceAppId, easyar_CallbackScheduler * callbackScheduler, easyar_OptionalOfFunctorOfVoidFromCloudStatusAndListOfTarget callback, /* OUT */ easyar_CloudRecognizer * * Return);
|
|
/// <summary>
|
|
/// Starts the recognition.
|
|
/// </summary>
|
|
bool easyar_CloudRecognizer_start(easyar_CloudRecognizer * This);
|
|
/// <summary>
|
|
/// Stops the recognition.
|
|
/// </summary>
|
|
void easyar_CloudRecognizer_stop(easyar_CloudRecognizer * This);
|
|
/// <summary>
|
|
/// Stops the recognition and closes connection. The component shall not be used after calling close.
|
|
/// </summary>
|
|
void easyar_CloudRecognizer_close(easyar_CloudRecognizer * This);
|
|
void easyar_CloudRecognizer__dtor(easyar_CloudRecognizer * This);
|
|
void easyar_CloudRecognizer__retain(const easyar_CloudRecognizer * This, /* OUT */ easyar_CloudRecognizer * * Return);
|
|
const char * easyar_CloudRecognizer__typeName(const easyar_CloudRecognizer * This);
|
|
|
|
void easyar_ListOfTarget__ctor(easyar_Target * const * begin, easyar_Target * const * end, /* OUT */ easyar_ListOfTarget * * Return);
|
|
void easyar_ListOfTarget__dtor(easyar_ListOfTarget * This);
|
|
void easyar_ListOfTarget_copy(const easyar_ListOfTarget * This, /* OUT */ easyar_ListOfTarget * * Return);
|
|
int easyar_ListOfTarget_size(const easyar_ListOfTarget * This);
|
|
easyar_Target * easyar_ListOfTarget_at(const easyar_ListOfTarget * This, int index);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|