Browse Source

0424

master
王厅 7 months ago
parent
commit
2162512c43
  1. BIN
      bin/x64/Release/AIConnectorSDK.dll
  2. 2
      include/AIConnectorAPI.h
  3. 4
      include/AIPVProtocol.h

BIN
bin/x64/Release/AIConnectorSDK.dll

Binary file not shown.

2
include/AIConnectorAPI.h

@ -14,7 +14,7 @@ extern "C" {
bool KVS_API AIPV_Stop(uint32_t handle);
bool KVS_API AIPV_UploadImage(uint32_t handle, AIPV::AIPVFrameHeader* imgHeader, uint8_t* imgData);
bool KVS_API AIPV_MonitorDir(uint32_t handle, const wchar_t* dirPath, AIPV::fcbBeforeUpload callback, void* userData);
bool KVS_API AIPV_MonitorDir(uint32_t handle, const wchar_t* dirPath, AIPV::fcbBeforeUpload callback/*, void* userData*/);
bool KVS_API AIPV_SubscribeAIResult(uint32_t handle, bool enable, AIPV::fcbAIPVResult callback);
// module settings

4
include/AIPVProtocol.h

@ -145,7 +145,9 @@ namespace AIPV {
#pragma pack(pop)
#pragma endregion
using fcbBeforeUpload = std::function<bool(AIPVFrameHeader* imgHeader, uint8_t* imgData, void* userData)>;
//using fcbBeforeUpload = std::function<bool(AIPVFrameHeader* imgHeader, uint8_t* imgData/*, void* userData*/)>;
typedef bool(*fcbBeforeUpload)(AIPVFrameHeader* imgHeader, uint8_t* imgData);
//using fcbAIPVResult = std::function<void(AIPVResult* result, AIPVStitchResultHeader* stitchresult, uint8_t* mStitchImgData)>;
typedef void(*fcbAIPVResult )(AIPVResult* result, AIPVStitchResultHeader* stitchresult, uint8_t* mStitchImgData);
//using fcbAIPVResult = std::function<void(AIPVResult* result, AIPVStitchResultHeader* stitchresult)>;

Loading…
Cancel
Save