RockX  1.0.0
Enumerations | Functions
rockx.h File Reference
#include <stddef.h>
#include "rockx_type.h"
#include "modules/face.h"
#include "modules/pose.h"
#include "modules/object_detection.h"
#include "modules/carplate.h"
#include "modules/object_track.h"
#include "utils/rockx_tensor_util.h"
#include "utils/rockx_image_util.h"

Go to the source code of this file.

Enumerations

enum  rockx_module_t {
  ROCKX_MODULE_FACE_DETECTION = 1, ROCKX_MODULE_FACE_LANDMARK_68 = 2, ROCKX_MODULE_FACE_RECOGNIZE = 3, ROCKX_MODULE_FACE_ANALYZE = 4,
  ROCKX_MODULE_OBJECT_DETECTION = 5, ROCKX_MODULE_POSE_BODY = 6, ROCKX_MODULE_POSE_FINGER_21 = 7, ROCKX_MODULE_FACE_LANDMARK_5 = 8,
  ROCKX_MODULE_HEAD_DETECTION = 9, ROCKX_MODULE_CARPLATE_DETECTION = 10, ROCKX_MODULE_CARPLATE_ALIGN = 11, ROCKX_MODULE_CARPLATE_RECOG = 12,
  ROCKX_MODULE_OBJECT_TRACK = 13, ROCKX_MODULE_POSE_FINGER_3 = 14
}
 RockX Modules Define. More...
 

Functions

rockx_ret_t rockx_create (rockx_handle_t *handle, rockx_module_t m, void *config, size_t config_size)
 
rockx_ret_t rockx_destroy (rockx_handle_t handle)
 

Enumeration Type Documentation

◆ rockx_module_t

RockX Modules Define.

This is using for create a RockX module(See rockx_create)

Enumerator
ROCKX_MODULE_FACE_DETECTION 

Face Detection.

ROCKX_MODULE_FACE_LANDMARK_68 

Face Landmark (68 KeyPoints)

ROCKX_MODULE_FACE_RECOGNIZE 

Face Recognition.

ROCKX_MODULE_FACE_ANALYZE 

Face Attribute(Gender and Age) Analyze.

ROCKX_MODULE_OBJECT_DETECTION 

Object Detection(91 Classes)

ROCKX_MODULE_POSE_BODY 

Body Pose(14 KeyPoints)

ROCKX_MODULE_POSE_FINGER_21 

Finger Landmark(21 KeyPoint)

ROCKX_MODULE_FACE_LANDMARK_5 

Face Landmark(5 KeyPoints)

ROCKX_MODULE_HEAD_DETECTION 

Head Detection.

ROCKX_MODULE_CARPLATE_DETECTION 

Car Plate Detection.

ROCKX_MODULE_CARPLATE_ALIGN 

Car Plate Correct Alignment.

ROCKX_MODULE_CARPLATE_RECOG 

Car Plate Recognition.

ROCKX_MODULE_OBJECT_TRACK 

Object Track.

ROCKX_MODULE_POSE_FINGER_3 

Finger Landmark(3 KeyPoint)

Definition at line 114 of file rockx.h.

Function Documentation

◆ rockx_create()

rockx_ret_t rockx_create ( rockx_handle_t handle,
rockx_module_t  m,
void *  config,
size_t  config_size 
)

Create A Rockx Module

Parameters
handle[out] The handle for created module
m[in] Enum of RockX module(rockx_module_t)
config[in] Config for Rockx Module
config_size[in] Size of config
Returns
rockx_ret_t

◆ rockx_destroy()

rockx_ret_t rockx_destroy ( rockx_handle_t  handle)

Destroy A Rockx Module

Parameters
handle[in] The handle of a created module (created by rockx_create)
Returns
rockx_ret_t