change area() emptiness checks to empty()

This commit is contained in:
tompollok
2018-10-13 21:35:10 +02:00
parent 429a643f42
commit 0b77600718
15 changed files with 42 additions and 42 deletions
+1 -1
View File
@@ -559,7 +559,7 @@ int main(int argc, char** argv)
{
Rect r = extract3DBox(frame, shownFrame, selectedObjFrame,
cameraMatrix, rvec, tvec, box, 4, true);
if( r.area() )
if( !r.empty() )
{
const int maxFrameIdx = 10000;
char path[1000];