Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is a list of sample applications included in the SDK.

  • Free to use.

Note

We do not guarantee operation in your operating environment. Please check the operation of the sample application to see if it can be used as is for actual operation. Additionally, we are unable to respond to inquiries from individual customers regarding modification of sample apps or the design of new apps. Please note.

...

C

...

Python

...

Overview

...

ReadMe

...

Application name

...

AdamAPI(except some API*1)

...

Application name

...

AdamAPI(except some API*2)

...

active_guard_sample_app

...

ADAM_CyclicTimer_Cancel
ADAM_CyclicTimer_Start
ADAM_GetAppDataDirPath
ADAM_GetAppTmpDirPath
ADAM_MetaDataStream_SetRaw
ADAM_ServerResponse_Send

...

active_guard_sample_app

...

adam_meta_data_stream_set_raw
adam_get_app_data_dir_path

...

Send Active Guard at regular intervals

...

Click here for operation explanation

...

additional_info_sample_app

...

ADAM_AdditionalInfo_Set
ADAM_ServerResponse_Send

...

additional_info_sample_app

...

adam_additional_info_set
adam_set_appPref_callback

...

Adding additional information to video or audio streams

...

Click here for operation explanation

...

alarm_sample_app

...

ADAM_Alarm_Notify
ADAM_CyclicTimer_Cancel
ADAM_CyclicTimer_Start
ADAM_GetAppDataDirPath
ADAM_ServerResponse_Send
ADAM_StopMe

...

alarm_sample_app

...

adam_alarm_notify

...

Notify camera built-in alarm at regular intervals

...

Click here for operation explanation

...

apppref_gui_sample_app

...

ADAM_GetInstallId
ADAM_ServerResponse_Send

...

apppref_gui_sample_app

...

 No special mention

...

Display and set AppPref from the GUI screen

...

Click here for operation explanation

...

audio_app

...

ADAM_DevRawAudio_Create
ADAM_ServerResponse_Send

...

audio_app

...

adam_dev_rawaudio_create

...

Acquire audio at regular intervals and output logs

...

Click here for operation explanation

...

cgiSendCommandApp

...

ADAM_GetInstallId
ADAM_ServerResponse_Send

...

 -

...

 -

...

Execute CGI for camera from GUI screen

...

Click here for operation explanation

...

docker_ocr_app

...

ADAM_GetAppTmpDirPath
ADAM_DevRawVideo_Create
ADAM_ServerResponse_SendAsIs

...

 -

...

 -

...

Read the characters from the image taken by the camera and display the read characters

...

Click here for operation explanation

...

fd_sample_app

...

ADAM_DEBUG_SET_PRINT_LEVELS
ADAM_DevFd_Create
ADAM_ServerResponse_Send

...

 -

...

 -

...

Receive file descriptor events and output logs

...

Click here for operation explanation

...

freestyle_app_with_keepalive

...

ADAM_KeepAlive_Add ADAM_KeepAlive_NotifyAlive
ADAM_ServerResponse_Send ADAM_KeepAlive_Remove

...

 -

...

 -

...

Create a life and death subthread from the main thread

...

Click here for operation explanation

...

iac_client_sample_app

...

ADAM_ServerResponse_SendAsIs

...

 -

...

 -

...

Perform socket communication (client side)

...

Click here for operation explanation

...

iac_server_sample_app

...

ADAM_ServerResponse_SendAsIs

...

 -

...

 -

...

Perform socket communication (server side)

...

Click here for operation explanation

...

inputalarm_app

...

ADAM_ServerResponse_SendAsIs

...

 -

...

 -

...

Receive alarm input events and output alarm types

...

Click here for operation explanation

...

jpeg_app

jpeg_app_for_CV5X

...

  • The sample app does not include external libraries. If you use an external library you need to build and add it. For details, see here for C/C++ and here for Python.

  • When using an AI model, an AI model conversion tool is required. Also you need to put the model. See here for details.

Note

We do not guarantee operation in your operating environment. Please check the operation of the sample application to see if it can be used as is for actual operation. Additionally, we are unable to respond to inquiries from individual customers regarding modification of sample apps or the design of new apps. Please note.

Overview

C

Python

ReadMe

Application name

AdamAPI(except some API*1)

Application name

AdamAPI(except some API*2)

Send Active Guard at regular intervals

active_guard_sample_app

ADAM_CyclicTimer_Cancel
ADAM_CyclicTimer_Start
ADAM_GetAppDataDirPath
ADAM_GetAppTmpDirPath
ADAM_MetaDataStream_SetRaw
ADAM_ServerResponse_Send

active_guard_sample_app

adam_meta_data_stream_set_raw
adam_get_app_data_dir_path

Click here for operation explanation

Adding additional information to video or audio streams

additional_info_sample_app

ADAM_AdditionalInfo_Set
ADAM_ServerResponse_Send

additional_info_sample_app

adam_additional_info_set
adam_set_appPref_callback

Click here for operation explanation

Notify camera built-in alarm at regular intervals

alarm_sample_app

ADAM_Alarm_Notify
ADAM_CyclicTimer_Cancel
ADAM_CyclicTimer_Start
ADAM_GetAppDataDirPath
ADAM_ServerResponse_Send
ADAM_StopMe

alarm_sample_app

adam_alarm_notify

Click here for operation explanation

Display and set AppPref from the GUI screen

apppref_gui_sample_app

ADAM_GetInstallId
ADAM_ServerResponse_Send

apppref_gui_sample_app

 No special mention

Click here for operation explanation

Acquire audio at regular intervals and output logs

audio_app

ADAM_DevRawAudio_Create
ADAM_ServerResponse_Send

audio_app

adam_dev_rawaudio_create

Click here for operation explanation

Execute CGI for camera from GUI screen

cgiSendCommandApp

ADAM_GetInstallId
ADAM_ServerResponse_Send

 -

 -

Click here for operation explanation

Read the characters from the image taken by the camera and display the read characters

docker_ocr_app

ADAM_GetAppTmpDirPath
ADAM_DevRawVideo_Create
ADAM_ServerResponse_SendAsIs

 -

 -

Click here for operation explanation

Receive file descriptor events and output logs

fd_sample_app

ADAM_DEBUG_SET_PRINT_LEVELS
ADAM_DevFd_Create
ADAM_ServerResponse_Send

 -

 -

Click here for operation explanation

Create a life and death subthread from the main thread

freestyle_app_with_keepalive

ADAM_KeepAlive_Add ADAM_KeepAlive_NotifyAlive
ADAM_ServerResponse_Send ADAM_KeepAlive_Remove

 -

 -

Click here for operation explanation

Perform socket communication (client side)

iac_client_sample_app

ADAM_ServerResponse_SendAsIs

 -

 -

Click here for operation explanation

Perform socket communication (server side)

iac_server_sample_app

ADAM_ServerResponse_SendAsIs

 -

 -

Click here for operation explanation

Receive alarm input events and output alarm types

inputalarm_app

ADAM_DevInputAlarm_Create

ADAM_ServerResponse_SendAsIs

 -

 -

Click here for operation explanation

Saving camera images in JPEG format

*For CV5X cameras, please refer to jpeg_app_for_CV5X

jpeg_app

jpeg_app_for_CV5X

ADAM_CamPref_Get
ADAM_GET_WIDTH
ADAM_GET_HEIGHT
ADAM_DevYcVideo_Create
ADAM_ServerResponse_SendAsIs
ADAM_SET_RESOLUTION
ADAM_SET_FRAME_RATE

jpeg_app

jpeg_app_for_CV5X

adam_cv_yc2rgb
adam_cv_rgb_convert
adam_dev_rawvideo_create

Click here for operation explanation

Sending messages to LINE on mobile phones

line_sample_app

ADAM_GetInstallId
ADAM_ServerResponse_Send

 -

 -

Click here for operation explanation

Send metadata at regular intervals

meta_stream_app

ADAM_CyclicTimer_Cancel
ADAM_GetAppTmpDirPath
ADAM_MetaDataStream_SetRaw
ADAM_ServerResponse_Send

metaDataStream_sample_app

adam_meta_data_stream_set_raw
adam_get_app_data_dir_path

Click here for operation explanation

Create MP4 of video data

mp4rec_app

ADAM_GetInstallId
ADAM_MP4Rec_FileDelete
ADAM_MP4Rec_Set_ErrCB
ADAM_MP4Rec_Start
ADAM_MP4Rec_Stop
ADAM_ServerResponse_Send

mp4rec_app

adam_mp4rec_file_delete
adam_mp4rec_set_errCB
adam_mp4rec_start
adam_mp4rec_stop

Click here for operation explanation

Communicate by MQTT

mqtt_sample

ADAM_CamInfo_GetSerialNo
ADAM_ServerResponse_Send

mqtt_sample

 No special mention

There is no operation explanation.
*The C version uses the following three external libraries:
・libpaho-mqtt3cs
・libssl
・libcrypto
The Python version uses the following external library:
・Paho MQTT Library

Detect and display image edges

opencv_edge_detection_app

ADAM_DevYcVideo_Create
ADAM_GetAppTmpDirPath
ADAM_SET_FRAME_RATE

jpeg_app

jpeg_app_for_CV5X

adam_cv_yc2rgb
adam_cv_rgb_convert
adam_dev_rawvideo_create

Saving camera images in JPEG format

*For CV5X cameras, please refer to jpeg_app_for_CV5X

Click here for operation explanation

line_sample_app

ADAM_GetInstallId
ADAM_ServerResponse_Send

 -

 -

Sending messages to LINE on mobile phones

Click here for operation explanation

meta_stream_app

ADAM_CyclicTimer_Cancel
ADAM_GetAppTmpDirPath
ADAM_MetaDataStream_SetRaw
ADAM_ServerResponse_Send

metaDataStream_sample_app

adam_meta_data_stream_set_raw
adam_get_app_data_dir_path

Send metadata at regular intervalsADAM_SET_RESOLUTION
ADAM_ServerResponse_SendAsIs

 -

 -

Click here for operation explanation

Move the viewpoint to the object that detected the object

PTZ_centering_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_DeInitSSD
ADAM_AI_InitSSD
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_AI_RunSSD
ADAM_CV_CreateBlob
ADAM_CV_DeleteBlob
ADAM_CV_SetCpuData
ADAM_CV_Yc2Rgb
ADAM_CV_YcResize
ADAM_DevYcVideo_Create
ADAM_GetAppDataDirPath
ADAM_SET_FRAME_RATE
ADAM_SET_RESOLUTION
ADAM_ServerResponse_Send

 -

 -

Click here for operation explanation

mp4rec_Base of the sample app

ADAMskeleton_sample_GetInstallIdapp

ADAM_MP4RecServerResponse_FileDelete
ADAM_MP4Rec_Set_ErrCB
ADAM_MP4Rec_Start
ADAM_MP4Rec_Stop
ADAM_ServerResponse_Send

mp4rec_app

adam_mp4rec_file_delete
adam_mp4rec_set_errCB
adam_mp4rec_start
adam_mp4rec_stop

Create MP4 of video data

Send

 -

 -

Click here for operation explanation

Execute SQLite from GUI

sqlite_app

ADAM_ServerResponse_Send
ADAM_GetInstallId

sqlite_app

 No special mention

Click here for operation explanation

mqtt_sample

ADAM_CamInfo_GetSerialNoReceive alarms from cameras and output them to the screen

tcpalarm_recv_app

ADAM_ServerResponse_Sendmqtt_sampleSendAsIs

 -

 No special mention

Communicate by MQTT

There is no operation explanation.
*The C version uses the following three external libraries:
・libpaho-mqtt3cs
・libssl
・libcrypto
The Python version uses the following external library:
・Paho MQTT Library

opencv_edge_detection_-

Click here for operation explanation

update the application

update_sample_app

ADAM_DevYcVideoAppPref_CreateBeginTransaction
ADAM_AppPref_GetAppTmpDirPathSetEnumeration
ADAM_SETAppPref_FRAME_RATESaveTransaction
ADAM_SETServerResponse_RESOLUTIONSend
ADAM_ServerResponse_SendAsIsGetInstallId

 -

 -Detect and display image edges

Click here for operation explanationPTZ_centering

sample app with display and setting functions often required for WEB UI apps

web_template_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_DeInitSSD
ADAM_AI_InitSSD
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_AI_RunSSD
ADAM_CamInfo_Get
ADAM_CamPref_Get
ADAM_CV_CreateBlob
ADAM_CV_DeleteBlob
ADAM_CV_GetCpuData
ADAM_CV_ImageRotate
ADAM_CV_SetCpuData
ADAM_CV_Yc2Rgb
ADAM_CV_YcResize
ADAM_CyclicTimer_Cancel
ADAM_CyclicTimer_Start
ADAM_DevInputAlarm_Create
ADAM_DevYcVideo_Create
ADAM_GetAppDataDirPath
ADAM_SET_FRAME_RATEGetAppTmpDirPath
ADAM_GetInstallId
ADAM_PtzDigitalFlipState_Get
ADAM_SETServerResponse_RESOLUTIONSend
ADAM_ServerResponse_Send

 -

 -

Move the viewpoint to the object that detected the object

Click here for operation explanation

skeleton_sampleSendAsIs

web_template_appADAM

adam_ai_ServerResponse_Send

 -

 -

Base of the sample app

Click here for operation explanation

sqlite_app

ADAM_ServerResponse_Send
ADAM_GetInstallId

sqlite_app

 No special mention

Execute SQLite from GUI

Click here for operation explanation

tcpalarm_recv_app

ADAM_ServerResponse_SendAsIs

 -

 -

Receive alarms from cameras and output them to the screen

Click here for operation explanation

update_sample_app

ADAM_AppPref_BeginTransaction
ADAM_AppPref_SetEnumeration
ADAM_AppPref_SaveTransaction
ADAM_ServerResponse_Send
ADAM_GetInstallId

 -

 -

update the application

Click here for operation explanation

web_template_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_DeInitSSD
ADAM_AI_InitSSD
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_AI_RunSSD
ADAM_CamInfo_Get
ADAM_CamPref_Get
ADAM_CV_CreateBlob
ADAM_CV_DeleteBlob
ADAM_CV_GetCpuData
ADAM_CV_ImageRotate
ADAM_CV_SetCpuData
ADAM_CV_Yc2Rgb
ADAM_CV_YcResizeblob_by_name
adam_ai_close_net
adam_ai_deinit_ssd
adam_ai_init_ssd
adam_ai_init_ssd
adam_ai_open_net
adam_ai_run_net
adam_ai_run_ssd
adam_alarm_notify
adam_cam_info_get
adam_cam_pref_get
adam_cv_image_rotate
adam_cv_rgb_convert
adam_cv_rgb_convert
adam_cv_yc_resize
adam_cv_yc2rgb
adam_cv_yc2rgb
adam_cv_yc2rgb
adam_dev_rawvideo_create
adam_dev_rawvideo_create
adam_get_app_data_dir_path
adam_get_app_tmp_dir_path
adam_meta_data_stream_set_raw
adam_ptz_digital_flip_state_get

Click here for operation explanation

Get YC image, encode to H265 or JPEG and output

ycencode_sample_app

ADAM_CyclicTimer_Cancel
ADAM_CyclicTimerDevYcEncode_StartGetBuf
ADAM_DevInputAlarmDevYcEncode_CreateSetBuf
ADAM_DevYcVideoSET_CreateRESOLUTION
ADAM_GetAppDataDirPath
ADAM_GetAppTmpDirPath
ADAM_GetInstallId
ADAM_PtzDigitalFlipState_Get
ADAM_ServerResponse_Send
ADAM_ServerResponse_SendAsIs

web_template_app

adam_ai_blob_by_name
adam_ai_close_net
adam_ai_deinit_ssd
adam_ai_init_ssd
adam_ai_init_ssd
adam_ai_open_net
adam_ai_run_net
adam_ai_run_ssd
adam_alarm_notify
adam_cam_info_get
adam_cam_pref_get
adam_cv_image_rotate
adam_cv_rgb_convert
adam_cv_rgb_convert
adam_cv_yc_resize
adam_cv_yc2rgb
adam_cv_yc2rgb
adam_cv_yc2rgb
adam_dev_rawvideo_create
adam_dev_rawvideo_create
adam_get_app_data_dir_path
adam_get_app_tmp_dir_path
adam_meta_data_stream_set_raw
adam_ptz_digital_flip_state_get

Detects the detection target according to the settings

Click here for operation explanation

ycencode_sample_app

ADAM_CyclicTimer_Cancel
ADAM_DevYcEncode_GetBuf
ADAM_DevYcEncode_SetBuf
ADAM_SET_RESOLUTION
ADAM_ServerResponse_Send

ycencode_sample_app

adam_dev_yc_encode_get_buf
adam_dev_yc_encode_set_buf
adam_dev_ycencode_create_h26x
adam_dev_ycencode_create_jpegServerResponse_Send

ycencode_sample_app

adam_dev_yc_encode_get_buf
adam_dev_yc_encode_set_buf
adam_dev_ycencode_create_h26x
adam_dev_ycencode_create_jpeg
adam_dev_ycvideo_create

Since there are no special notes, there is no operation explanation.

Please see here for Note.

Infer the model on the camera and output the result

yuv_dnn_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_CV_CreateBlob
ADAM_CV_DeleteBlob
ADAM_CV_GetCpuData
ADAM_CV_RgbResize
ADAM_CV_SetCpuData
ADAM_CV_Yc2Rgb
ADAM_SET_FRAME_RATE
ADAM_SET_RESOLUTION
ADAM_ServerResponse_Send

yuv_dnn_app

adam_ai_blob_by_name
adam_ai_close_net
adam_ai_open_net
adam_ai_run_net
adam_cv_rgb_resize
adam_cv_yc2rgb
adam_dev_ycvideo_create
adam_get_app_data_dir_path

Click here for operation explanation

Draw the skeleton detection of the model on the camera

 -

 -

yuv_pose_app

adam_cv_yc_resize
adam_cv_yc2rgb
adam_ai_run_net
adam_ai_open_net
adam_ai_blob_by_name
adam_dev_ycvideo_create

Get YC image, encode to H265 or JPEG and output

Since there are no special notes, there is no operation explanation.

yuv_dnnadam_ai_close_net

Click here for operation explanation

Draw object names and borders on models on camera

yuv_ssd_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_DeInitSSD
ADAM_AI_InitSSD
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_CVAI_CreateBlobRunSSD
ADAM_CV_DeleteBlobCreateBlob
ADAM_CV_GetCpuDataDeleteBlob
ADAM_CV_RgbResizeSetCpuData
ADAM_CV_SetCpuDataYc2Rgb
ADAM_CV_Yc2RgbYcResize
ADAM_SET_FRAME_RATE
ADAM_SET_RESOLUTION
ADAM_ServerResponse_Send

yuv_dnn_app

adam_ai_blob_by_name
adam_ai_close_net
adam_ai_open_net
adam_ai_run_net
adam_cv_rgb_resize
adam_cv_yc2rgb
adam_dev_ycvideo_create
adam_get_app_data_dir_path

Infer the model on the camera and output the result

Click here for operation explanation

 -

 -

yuv_pose_app

adam_cv_yc_resize
adam_cv_yc2rgb

yuv_ssd_app

adam_ai_blob_by_name
adam_ai_close_net
adam_ai_deinit_ssd
adam_ai_init_ssd
adam_ai_open_net
adam_ai_run_net
adam_ai_openrun_netssd
adam_cv_aiyc2rgb
adam_blobcv_byyc_nameresize
adam_dev_ycvideo_create
adam_get_app_aidata_close_net

Draw the skeleton detection of the model on the camera

Click here for operation explanation

yuv_ssddir_path

Click here for operation explanation

Draw object names and borders on models on camera

yuv_yolo_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_DeInitSSD
ADAM_AI_InitSSD
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_AICV_RunSSDCreateBlob
ADAM_CV_CreateBlobDeleteBlob
ADAM_CV_DeleteBlobGetCpuData
ADAM_CV_SetCpuData
ADAM_CV_Yc2Rgb
ADAM_CV_YcResize
ADAM_SET_FRAME_RATE
ADAM_SET_RESOLUTION
ADAM_ServerResponse_Send

yuv_ssdyolo_appadam_ai_blob_by_name
adam_ai_close_net
adam_ai_deinit_ssd

adam_ai_blob_initby_ssdname
adam_ai_openclose_net
adam_ai_runopen_net
adam_ai_run_ssdnet
adam_cv_yc2rgb
adam_cv_yc_resize
adam_dev_ycvideo_create
adam_get_app_data_dir_path

Click here for operation explanation

Draw object names and borders on models on cameraClick here for operation explanation

yuv_yoloyolov5_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_CV_CreateBlob
ADAM_CV_DeleteBlob
ADAM_CV_GetCpuData
ADAM_CV_SetCpuData
ADAM_CV_Yc2Rgb
ADAM_CV_YcResize
ADAM_SET_FRAME_RATE
ADAM_SET_RESOLUTION
ADAM_ServerResponse_Send

yuv_yoloyolov5_app

adam_ai_blob_by_name
adam_ai_close_net
adam_ai_open_net
adam_ai_run_net
adam_cv_yc2rgb
adam_cv_yc_resize
adam_dev_ycvideo_create
adam_get_app_data_dir_path

Click here for operation explanation

Draw object names and borders on models on cameraClick here for operation explanation

yuv_yolov5yolov8_app

ADAM_AI_BlobByName
ADAM_AI_CloseNet
ADAM_AI_OpenNet
ADAM_AI_RunNet
ADAM_CV_CreateBlob
ADAM_CV_DeleteBlob
ADAM_CV_GetCpuData
ADAM_CV_SetCpuData
ADAM_CV_Yc2Rgb
ADAM_CV_YcResize
ADAM_SET_FRAME_RATE
ADAM_SET_RESOLUTION
ADAM_ServerResponse_Send

yuv_yolov5yolov8_app

adam_ai_blob_by_name
adam_ai_close_net
adam_ai_open_net
adam_ai_run_net
adam_cv_yc2rgb
adam_cv_yc_resize
adam_dev_ycvideo_create
adam_get_app_data_dir_pathDraw object names and borders on models on camera

Click here for operation explanation

...

The above modification is not necessary for SDK v2.10 01 or later.