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

Go to the source code of this file.

Data Structures

struct  rockx_carplate_align_result_t
 Car plate align Result (rockx_carplate_align) More...
 
struct  rockx_carplate_recog_result_t
 Car plate recognition Result (rockx_carplate_recognize) More...
 

Typedefs

typedef struct rockx_carplate_align_result_t rockx_carplate_align_result_t
 Car plate align Result (rockx_carplate_align) More...
 
typedef struct rockx_carplate_recog_result_t rockx_carplate_recog_result_t
 Car plate recognition Result (rockx_carplate_recognize) More...
 

Functions

rockx_ret_t rockx_carplate_detect (rockx_handle_t handle, rockx_image_t *in_img, rockx_object_array_t *object_array, rockx_async_callback callback)
 
rockx_ret_t rockx_carplate_align (rockx_handle_t handle, rockx_image_t *in_img, rockx_object_t *detect_result, rockx_carplate_align_result_t *aligned_result)
 
rockx_ret_t rockx_carplate_recognize (rockx_handle_t handle, rockx_image_t *aligned_img, rockx_carplate_recog_result_t *recog_result)
 

Variables

const char *const CARPLATE_RECOG_CODE [83]
 Car Plate Recognition Code Table. More...
 

Typedef Documentation

◆ rockx_carplate_align_result_t

Car plate align Result (rockx_carplate_align)

◆ rockx_carplate_recog_result_t

Car plate recognition Result (rockx_carplate_recognize)

Function Documentation

◆ rockx_carplate_align()

rockx_ret_t rockx_carplate_align ( rockx_handle_t  handle,
rockx_image_t in_img,
rockx_object_t detect_result,
rockx_carplate_align_result_t aligned_result 
)

Car Plate Correction Alignment

Parameters
handle[in] Handle of a created ROCKX_MODULE_CARPLATE_ALIGN module(created by rockx_create)
in_img[in] Input image
detect_result[in] Detection result (get from rockx_carplate_detect)
aligned_result[out] Aligned result
Returns
rockx_ret_t

◆ rockx_carplate_detect()

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

Car Plate Detection

Parameters
handle[in] Handle of a created ROCKX_MODULE_CARPLATE_DETECTION module(created by rockx_create)
in_img[in] Input image
object_array[out] Car plate detection result
callback[in] Async callback function pointer
Returns
rockx_ret_t

◆ rockx_carplate_recognize()

rockx_ret_t rockx_carplate_recognize ( rockx_handle_t  handle,
rockx_image_t aligned_img,
rockx_carplate_recog_result_t recog_result 
)

Car Plate Recognition

Parameters
handle[in] Handle of a created ROCKX_MODULE_CARPLATE_RECOG module(created by rockx_create)
aligned_img[in] Aligned image of car plate (get from rockx_carplate_align)
recog_result[out] Recognition result
Returns
rockx_ret_t

Variable Documentation

◆ CARPLATE_RECOG_CODE

const char* const CARPLATE_RECOG_CODE[83]
Initial value:
= {
"京", "沪", "津", "渝", "冀", "晋", "蒙", "辽", "吉", "黑", "苏", "浙", "皖", "闽", "赣", "鲁", "豫", "鄂", "湘",
"粤", "桂", "琼", "川", "贵", "云", "藏", "陕", "甘", "青", "宁", "新",
"0", "1", "2", "3", "4", "5", "6", "7", "8", "9",
"A", "B", "C", "D", "E", "F", "G", "H", "J", "K", "L", "M", "N", "P", "Q", "R", "S", "T", "U", "V", "W", "X",
"Y", "Z","港","学","使","警","澳","挂","军","北","南","广","沈","兰","成","济","海","民","航","空"
}

Car Plate Recognition Code Table.

Definition at line 27 of file carplate.h.