This is a list of sample applications included in the SDK.
Free to use.
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 | Overview | 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 | active_guard_sample_app | adam_meta_data_stream_set_raw | Send Active Guard at regular intervals | Click here for operation explanation |
Adding additional information to video or audio streams | additional_info_sample_app | ADAM_AdditionalInfo_Set | additional_info_sample_app | adam_additional_info_set | Click here for operation explanation | |
Notify camera built-in alarm at regular intervals | alarm_sample_app | ADAM_Alarm_Notify | alarm_sample_app | adam_alarm_notifyNotify camera built-in alarm at regular intervals | Click here for operation explanation | |
Display and set AppPref from the GUI screen | apppref_gui_sample_app | ADAM_GetInstallId | apppref_gui_sample_app | No special mention | Display and set AppPref from the GUI screen | Click here for operation explanation |
Acquire audio at regular intervals and output logs | audio_app | ADAM_DevRawAudio_Create | audio_app | adam_dev_rawaudio_createAcquire audio at regular intervals and output logs | Click here for operation explanation | |
Execute CGI for camera from GUI screen | cgiSendCommandApp | ADAM_GetInstallId | - | - | Execute CGI for camera from GUI screenClick here for operation explanation | |
Multi-container applications | docker_multi_images | 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 | - | - | Click here for operation explanation | |
Receive file descriptor events and output logs | fd_sample_app | ADAM_DEBUG_SET_PRINT_LEVELS | - | - | Receive file descriptor events and output logs | 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 | - | -Create a life and death subthread from the main thread | 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 (client server side)Click here for operation explanation | iac_server_sample_app | ADAM_ServerResponse_SendAsIs | - | - | Perform socket communication (server side) | Click here for operation explanation |
Receive alarm input events and output alarm types | inputalarm_app | ADAM_DevInputAlarm_Create ADAM_ServerResponse_SendAsIs | - | - | Receive alarm input events and output alarm types | 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 | jpeg_app jpeg_app_for_CV5X | adam_cv_yc2rgb | Saving camera images in JPEG format | Click here for operation explanation |
line_sample_app | ADAM_GetInstallId | - | - | Sending messages to LINE on mobile phones | Click here for operation explanation | |
Send metadata at regular intervals | meta_stream_app | ADAM_CyclicTimer_Cancel | metaDataStream_sample_app | adam_meta_data_stream_set_raw | Click here for operation explanation | |
Create MP4 of video data | mp4rec_app | ADAM_GetInstallId | mp4rec_app | adam_mp4rec_file_delete | Click here for operation explanation | |
Communicate by MQTT | mqtt_sample | ADAM_CamInfo_GetSerialNo | mqtt_sample | No special mention | Communicate by MQTT | There is no operation explanation. |
Detect and display image edges | opencv_edge_detection_app | ADAM_DevYcVideo_Create | - | -Detect and display image edges | Click here for operation explanation | |
Base of the sample app | skeleton_sample_app | ADAM_ServerResponse_Send | - | - | Click here for operation explanation | |
Execute SQLite from GUI | sqlite_app | ADAM_ServerResponse_Send | sqlite_app | No special mention | 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 | - | - | Move the viewpoint to the object that detected the object | Click here for operation explanation |
skeleton_sample_app | ADAM_ServerResponse_Send | - | - | Base of the sample app | Click here for operation explanation | |
sqlite_app | ADAM_ServerResponse_Send | 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 | - | - | update the application | Click here for operation explanation | |
ADAM_ServerResponse_SendAsIs | web_template_app | adam_ai_blob_by_name | Click here for operation explanation | |||
Get YC image, encode to H265 or JPEG and output | ycencode_sample_app | ADAM_CyclicTimer_Cancel | ycencode_sample_app | adam_dev_yc_encode_get_buf | 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 | yuv_dnn_app | adam_ai_blob_by_name | Click here for operation explanation | |
Draw the skeleton detection of the model on the camera and output the resultClick here for operation explanation | - | - | yuv_pose_app | adam_cv_yc_resize | Click here for operation explanation | |
Draw object names and borders on models on camera | yuv_ssd_app | ADAM_AI_BlobByName | yuv_ssd_app | adam_ai_blob_by_name | Click here for operation explanation | |
Draw object names and borders on models on camera | Click here for operation explanation | yuv_yolo_app | ADAM_AI_BlobByName | yuv_yolo_app | adam_ai_blob_by_name | Click here for operation explanation |
Draw object names and borders on models on cameraClick here for operation explanation | yuv_yolov5_app | ADAM_AI_BlobByName | yuv_yolov5_app | adam_ai_blob_by_name | Click here for operation explanation | |
Draw object names and borders on models on camera | yuv_yolov8_app | ADAM_AI_BlobByName | yuv_yolov8_app | adam_ai_blob_by_name | Click here for operation explanation |
...
ADAM_Open
ADAM_Close
ADAM_Eventloop_Add
ADAM_Eventloop_Exit
ADAM_Eventloop_Dispatch
ADAM_Eventloop_Remove
ADAM_DEBUG_PRINT
ADAM_GetSdCardPath
ADAM_ASSERT
ADAM_RTN_ASSERT
ADAM_AppPref_Lock
ADAM_AppPref_Unlock
ADAM_AppPref_GetEnumeration
ADAM_AppPref_GetInteger
ADAM_AppPref_GetString
ADAM_GetAppDataDirPath
*2The description of the Python version API below is omitted.
adamEventloop
adam_set_stop_callback
adam_set_http_callback
adam_cv_create_blob
adam_cv_delete_blob
adam_cv_set_cpu_data
adam_cv_get_cpu_data
adam_lock_appPref
adam_unlock_appPref
adam_get_appPref
adam_debug_print
adam_set_appPref
adam_app_pref_reset
adam_get_app_data_dir_path
Attention
The Python version sample AdamApp app may not work with SDK Ver2.00. If the Python version of the sample AdamApp app does not work, please try the following.
\iPRO_CAMERA_SDK_Vx_xx\src\adamapp-py\(Any sample app)\.c_cxx_src\main.cpp
Please modify all three locations in the above file as shown below.
[Before]#if TARGET_FOR_ADAM == ambaCV5XCAZ
[After]#if defined(ADAM_TARGET_PF_ipro_ambaCV5XCAZ_linux)
The above modification is not necessary for SDK v2.01 or later. (If you have migrated source code from an SDK version earlier than v2.01, you will need to make modifications.)