資源簡介
奧比中光英文官網下載的windows環境下64位電腦使用的SDK壓縮包
代碼片段和文件信息
//?This?file?is?part?of?the?Orbbec?Astra?SDK?[https://orbbec3d.com]
//?Copyright?(c)?2015-2017?Orbbec?3D
//
//?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
//?you?may?not?use?this?file?except?in?compliance?with?the?License.
//?You?may?obtain?a?copy?of?the?License?at
//
//?http://www.apache.org/licenses/LICENSE-2.0
//
//?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
//?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
//?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
//?See?the?License?for?the?specific?language?governing?permissions?and
//?limitations?under?the?License.
//
//?Be?excellent?to?each?other.
#include?
#include?
#include?
#include?
#include?
void?output_floor(astra_bodyframe_t?bodyframe)
{
????astra_floor_info_t?floorInfo;
????astra_status_t?rc?=?astra_bodyframe_floor_info(bodyframe?&floorInfo);
????if?(rc?!=?ASTRA_STATUS_SUCCESS)
????{
????????printf(“Error?%d?in?astra_bodyframe_floor_info()\n“?rc);
????????return;
????}
????const?astra_bool_t?floorDetected?=?floorInfo.floorDetected;
????const?astra_plane_t*?floorPlane?=?&floorInfo.floorPlane;
????const?astra_floormask_t*?floorMask?=?&floorInfo.floorMask;
????if?(floorDetected?!=?ASTRA_FALSE)
????{
????????printf(“Floor?plane:?[%f?%f?%f?%f]\n“
???????????????floorPlane->a
???????????????floorPlane->b
???????????????floorPlane->c
???????????????floorPlane->d);
????????const?int32_t?bottomCenterIndex?=?floorMask->width?/?2?+?floorMask->width?*?(floorMask->height?-?1);
????????printf(“Floor?mask:?width:?%d?height:?%d?bottom?center?value:?%d\n“
????????????floorMask->width
????????????floorMask->height
????????????floorMask->data[bottomCenterIndex]);
????}
}
void?output_body_mask(astra_bodyframe_t?bodyframe)
{
????astra_bodymask_t?bodyMask;
????const?astra_status_t?rc?=?astra_bodyframe_bodymask(bodyframe?&bodyMask);
????if?(rc?!=?ASTRA_STATUS_SUCCESS)
????{
????????printf(“Error?%d?in?astra_bodyframe_bodymask()\n“?rc);
????????return;
????}
????const?int32_t?centerIndex?=?bodyMask.width?/?2?+?bodyMask.width?*?bodyMask.height?/?2;
????printf(“Body?mask:?width:?%d?height:?%d?center?value:?%d\n“
????????bodyMask.width
????????bodyMask.height
????????bodyMask.data[centerIndex]);
}
void?output_bodyframe_info(astra_bodyframe_t?bodyframe)
{
????astra_bodyframe_info_t?info;
????const?astra_status_t?rc?=?astra_bodyframe_info(bodyframe?&info);
????if?(rc?!=?ASTRA_STATUS_SUCCESS)
????{
????????printf(“Error?%d?in?astra_bodyframe_info()\n“?rc);
????????return;
????}
????//?width?and?height?of?floor?mask?body?mask?and?the?size?of?depth?image
????//?that?joint?depth?position?is?relative?to.
????const?int32_t?width?=?info.width;
????const?int32_t?height?=?info.height;
????printf(“Bodyframe?info:?Width:?%d?Height:?%d\n“
????????width
????
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????62904??2019-07-08?08:53??SDK\2、奧比中光Astra?SDK簡介.docx
?????文件?????805888??2019-05-16?11:41??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\astra-tests.exe
?????文件??????35328??2019-05-16?11:35??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\astra.dll
?????文件????????143??2019-05-10?15:06??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\astra.toml
?????文件??????53248??2019-05-16?11:26??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\AstraDotNet.dll
?????文件?????383488??2019-05-16?11:36??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\astra_core.dll
?????文件??????11776??2019-05-16?11:35??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\astra_core_api.dll
?????文件??????14848??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\BodyReaderPoll.exe
?????文件??????47616??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\ColorizedBodyViewer-SFML.exe
?????文件??????12288??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\ColorReaderEvent.exe
?????文件??????29696??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\ColorReaderEventCPP.exe
?????文件??????12800??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\ColorReaderPoll.exe
?????文件??????53760??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\DebugHandViewer.exe
?????文件??????12288??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\DepthReaderEvent.exe
?????文件??????32256??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\DepthReaderEventCPP.exe
?????文件??????13312??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\DepthReaderPoll.exe
?????文件??????12800??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\HandReader.exe
?????文件??????58464??2019-05-10?15:06??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\Inconsolata.otf
?????文件??????13312??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\InfraredColorReaderEvent.exe
?????文件??????12800??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\InfraredReaderEvent.exe
?????文件??????12288??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\InfraredReaderPoll.exe
?????文件??????50688??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\MaskedColorViewer-SFML.exe
?????文件??????49664??2019-05-16?11:40??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\MultiSensorViewer-SFML.exe
?????文件?????234496??2019-05-10?15:10??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\OniFile.dll
?????文件????2477056??2019-05-10?19:10??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\opencv_core248.dll
?????文件????2238976??2019-05-10?19:11??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\opencv_highgui248.dll
?????文件????2089472??2019-05-10?19:11??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\opencv_imgproc248.dll
?????文件?????410624??2019-05-10?19:13??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\opencv_video248.dll
?????文件????????475??2019-05-10?15:10??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\OpenNI.ini
?????文件?????294400??2019-05-10?15:10??SDK\AstraSDK-v2.0.16-e6b4f7afb2-20190516T032636Z-vs2015-win64\bin\OpenNI2.dll
............此處省略773個文件信息
評論
共有 條評論