RockX  1.0.0
Data Structures | Typedefs | Functions | Variables
object_detection.h File Reference
#include "rockx_type.h"

Go to the source code of this file.

Data Structures

struct  rockx_object_t
 Object Detection Result(include Face, CarPlate, Head, Object, etc...) More...
 
struct  rockx_object_array_t
 Object Array Result. More...
 

Typedefs

typedef struct rockx_object_t rockx_object_t
 Object Detection Result(include Face, CarPlate, Head, Object, etc...) More...
 
typedef struct rockx_object_array_t rockx_object_array_t
 Object Array Result. More...
 

Functions

rockx_ret_t rockx_object_detect (rockx_handle_t handle, rockx_image_t *in_img, rockx_object_array_t *object_array, rockx_async_callback callback)
 
rockx_ret_t rockx_head_detect (rockx_handle_t handle, rockx_image_t *in_img, rockx_object_array_t *object_array, rockx_async_callback callback)
 

Variables

const char *const OBJECT_DETECTION_LABELS_91 [91]
 

Typedef Documentation

◆ rockx_object_array_t

Object Array Result.

◆ rockx_object_t

Object Detection Result(include Face, CarPlate, Head, Object, etc...)

Function Documentation

◆ rockx_head_detect()

rockx_ret_t rockx_head_detect ( rockx_handle_t  handle,
rockx_image_t in_img,
rockx_object_array_t object_array,
rockx_async_callback  callback 
)

Head Detection

Parameters
handle[in] Handle of a created ROCKX_MODULE_HEAD_DETECTION module(created by rockx_create)
in_img[in] Input image
object_array[out] Detection Result
callback[in] Async callback function pointer
Returns
rockx_ret_t

◆ rockx_object_detect()

rockx_ret_t rockx_object_detect ( rockx_handle_t  handle,
rockx_image_t in_img,
rockx_object_array_t object_array,
rockx_async_callback  callback 
)

Object Detection (91 Class)

Parameters
handle[in] Handle of a created ROCKX_MODULE_OBJECT_DETECTION module(created by rockx_create)
in_img[in] Input image
object_array[out] Detection Result
callback[in] Async callback function pointer
Returns
rockx_ret_t

Variable Documentation

◆ OBJECT_DETECTION_LABELS_91

const char* const OBJECT_DETECTION_LABELS_91[91]
Initial value:
= {
"???", "person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", "trafficlight",
"firehydrant", "???", "stopsign", "parkingmeter", "bench", "bird", "cat", "dog", "horse", "sheep", "cow", "elephant",
"bear", "zebra", "giraffe", "???", "backpack", "umbrella", "???", "???", "handbag", "tie", "suitcase", "frisbee",
"skis", "snowboard", "sportsball", "kite", "baseballbat", "baseballglove", "skateboard", "surfboard", "tennisracket",
"bottle", "???", "wineglass", "cup", "fork", "knife", "spoon", "bowl", "banana", "apple", "sandwich", "orange",
"broccoli", "carrot", "hotdog", "pizza", "donut", "cake", "chair", "couch", "pottedplant", "bed", "???", "diningtable",
"???", "???", "toilet", "???", "tv", "laptop", "mouse", "remote", "keyboard", "cellphone", "microwave", "oven",
"toaster", "sink", "refrigerator", "???", "book", "clock", "vase", "scissors", "teddybear", "hairdrier", "toothbrush"
}

Object Detection Labels Table (91 Classes)

Definition at line 25 of file object_detection.h.