| | |
| | | }
|
| | |
|
| | | h->single_SDK(chan, img, t_result, const_cast<char*>(timestamp), mode);
|
| | | std::string mode_type = mode;
|
| | | DEBUG("--cam id:" + to_string(chan) + " image human_count:" + to_string(t_result->count));
|
| | | for (int i = 0; i < t_result->count; ++i)
|
| | | {
|
| | | if(mode == "video"){
|
| | | if(mode_type == "video"){
|
| | | DEBUG("--human_id:" + to_string(t_result->targets[i].id)+" human_confidence:" + to_string(t_result->targets[i].confidence) + " human_attribute:" + std::string(t_result->targets[i].attribute) + " human_top:" + to_string(t_result->targets[i].rect.top)+" human_left:" + to_string(t_result->targets[i].rect.left) + " human_right:" + to_string(t_result->targets[i].rect.right)+ " human_bottom:" + to_string(t_result->targets[i].rect.bottom));
|
| | | }
|
| | | else{
|