Issue type : bug fix
Consider for synchronous API when adding Autozoom result to post processor.
Change-Id: Iedac1f171f1f7f138ab4093b83b4fff19dcff5aa
Signed-off-by: Inki Dae <inki.dae@samsung.com>
void AutoZoom::getResultCnt(unsigned int *cnt)
{
- if (_async_mode) {
+ if (_async_mode)
_result = _async_manager->popOutput();
- _postprocessor->addInput(_result);
- }
*cnt = static_cast<unsigned int>(_result.num_of_objects);
+ _postprocessor->addInput(_result);
}
void AutoZoom::getResultInt(unsigned int idx, std::string key, unsigned int *value)