mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 17:07:39 +08:00
Changed tube name to alprd. Updated site_id field in the JSON
This commit is contained in:
@@ -25,7 +25,7 @@ const std::string WTS_CONFIG_FILE_PATH="/etc/openalpr/wts.conf";
|
|||||||
|
|
||||||
const std::string BEANSTALK_QUEUE_HOST="127.0.0.1";
|
const std::string BEANSTALK_QUEUE_HOST="127.0.0.1";
|
||||||
const int BEANSTALK_PORT=11300;
|
const int BEANSTALK_PORT=11300;
|
||||||
const std::string BEANSTALK_TUBE_NAME="alpr";
|
const std::string BEANSTALK_TUBE_NAME="alprd";
|
||||||
|
|
||||||
struct CaptureThreadData
|
struct CaptureThreadData
|
||||||
{
|
{
|
||||||
@@ -223,7 +223,7 @@ void streamRecognitionThread(void* arg)
|
|||||||
cJSON *array = cJSON_Parse(json.c_str());
|
cJSON *array = cJSON_Parse(json.c_str());
|
||||||
cJSON_AddStringToObject(root, "uuid", uuid.c_str());
|
cJSON_AddStringToObject(root, "uuid", uuid.c_str());
|
||||||
cJSON_AddNumberToObject(root, "camera_id", tdata->camera_id);
|
cJSON_AddNumberToObject(root, "camera_id", tdata->camera_id);
|
||||||
cJSON_AddStringToObject(root, "site-id", tdata->site_id.c_str());
|
cJSON_AddStringToObject(root, "site_id", tdata->site_id.c_str());
|
||||||
cJSON_AddItemToObject(root, "results", array);
|
cJSON_AddItemToObject(root, "results", array);
|
||||||
|
|
||||||
char *out;
|
char *out;
|
||||||
|
Reference in New Issue
Block a user